|
[Sponsors] |
June 7, 2011, 06:29 |
change fixedGradient BC during run
|
#1 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
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 |
|
June 7, 2011, 11:16 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
June 7, 2011, 11:41 |
|
#3 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
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 |
|
June 8, 2011, 07:53 |
|
#4 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
http://openfoamwiki.net/index.php/Co...s_in_the_patch |
|||
June 8, 2011, 13:34 |
|
#5 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
Thanks a lot Bernhard,
it seems that it works. rupert |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fixedGradient BC type with the channelOodles solver | Bedotto | OpenFOAM Running, Solving & CFD | 5 | April 15, 2019 10:49 |
How to change density in OpenFoam | zhaowei | OpenFOAM Running, Solving & CFD | 8 | November 5, 2018 11:37 |
Change cell zone index/thread during simulation | neilduffy1024 | FLUENT | 0 | January 17, 2011 10:40 |
Windows 64-bit, Distributed Parallel Run Issues... | Erich | CFX | 3 | March 28, 2006 17:36 |
problems with LES run | Tim | CFX | 1 | February 27, 2006 08:28 |