Skip to content
Discussion options

You must be logged in to vote

This should be possible in principle, but is not very accessible at this time. Your best bet might be using an ExpressionBC object for this boundary, where you give a mathematical expression to determine the value of the virtual point. Since this expression can depend on the coordinate along the boundary, it will be in principle possible to implement your idea, but this would involve piecewise functions and is thus not very straight-forward.

In the future, it would be better if we could directly support functions that determine the boundary values. I added an issue for this (#367), but I don't know when we will have time to implement it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@david-zwicker
Comment options

@DobryVecher1
Comment options

Answer selected by DobryVecher1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants