Skip to content
Snippets Groups Projects
Commit d491f818 authored by Elias Pipping's avatar Elias Pipping
Browse files

[Problem] Dirichlet: Increase linearly at first

parent e94b7918
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,11 @@ class neumannCondition:
class velocityDirichletCondition:
def __call__(self, relativeTime):
return 2e-4
if relativeTime <= 0.25:
factor = 4*relativeTime;
else:
factor = 1
return 2e-4 * factor
Functions = {
'neumannCondition' : neumannCondition(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment