|
[Sponsors] |
What does correctBoundaryConditions do exactly? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 17, 2014, 08:26 |
What does correctBoundaryConditions do exactly?
|
#1 |
Senior Member
Join Date: Dec 2011
Posts: 121
Rep Power: 14 |
Hi,
Does anybody know what correctBoundaryConditionas does exactly? It calls three functions, setUpToDate(), storeOldTimes() and evaluate(). I think the first two don't do anything to the vector(scalar)Field, but i want to know what exactly boundaryField_.evaluate() does. Because the boundary surfaces are always same as the initial boundary condition, regardless of using correctBoundaryConditions or not. If this is true, why we need this function at all? Thanks in advance. |
|
September 19, 2014, 12:25 |
|
#2 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17 |
Just because you never changed the BC 'type' doesn't mean the BC 'value' doesn't change.
For example, for zeroGradient pressure BC in an unsteady flow over a sphere: its a zeroGrad BC every time step but you re-evaluate (hint:evaluate()) what the surface pressure values are every time step which is more than likely changing. |
|
May 30, 2020, 11:52 |
|
#3 | |
Member
alexander thierfelder
Join Date: Dec 2019
Posts: 71
Rep Power: 6 |
Quote:
Maybe a stupid question, sry in advance, when I write my own new application is it mandatory to add this after each fv equation that I solve? Or are there exceptions like for example in special numeric schemes or loops? |
||
|
|