change fixedGradient BC during run
Hello,
i want to change my boundary conditions during the run of my solver. So specifying Dirichlet BC was more or less easy to implement (overwriting the boundaryFields of the variables). Now I want to overwrite the value of the fixedGradient BC during the runtime for other variables. Is this possible and easy to access? Thank you for any advice, rupert |
Quote:
|
thanks bernhard for the quick reply,
there are unfortunately questions left: Is there no problem using the groovyBC specifying values for "valueExpression" and for "gradientExpression" ??? I thought that it is the only way to specify (e.g. using) simpleFoam either the velocity as dirichlet and the pressure as neumann or the other way around. Now it seems that i can specify on both fields dirichlet and neumann!? Can you explain that to me? One more thing: What is, if i dont specify one of these two keywords ( "valueExpression" or "gradientExpression)?? thanks a lot, rupert |
Quote:
Quote:
http://openfoamwiki.net/index.php/Co...s_in_the_patch |
Thanks a lot Bernhard,
it seems that it works. rupert |
All times are GMT -4. The time now is 06:13. |