CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Does local boundary condition overwrite the global/domain ones? (https://www.cfd-online.com/Forums/cfx/141200-does-local-boundary-condition-overwrite-global-domain-ones.html)

powpawell September 2, 2014 04:58

Does local boundary condition overwrite the global/domain ones?
 
Hello,

I am wondering if the local boundary conditions (e.g. inlet, top, outlet) overwrite the whole domain initial conditions. If the domain's pressure is 1atm and I set hydrostatic pressure for outlet, will the former be added to the latter?

Or if I add 2 inlet conditions (e.g. velocity due to waves and tidal current velocity)...what happens in this case?

Any help is highly appreciated!

Thanks very much! :)

Opaque September 2, 2014 08:29

It will be good to read the documentation

CFX-Solver Theory Guide: Chapter 11: Discretization and Solution Theory | 11.1. Numerical Discretization

The initial conditions are to initialize the control volume values, while the boundary condition are applied at the integration points of the element faces at the boundary of interest. There is not overlap between the values; therefore, nothing to worry about.

Of course, you do not want to initialize the control volume pressure value to say 1MPa while the boundary condition of the integration point next to it is set to 0.01MPa (or 100MPa). It will drive the flow crazy until the solution converges (if it does).

Hope the above helps.

powpawell September 5, 2014 04:40

hi Opaque,

Thanks for your answer. This helps :)


All times are GMT -4. The time now is 04:30.