CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Definition of local variables in mass source (https://www.cfd-online.com/Forums/cfx/201709-definition-local-variables-mass-source.html)

lostking18 May 8, 2018 19:08

Definition of local variables in mass source
 
Hi, guys:

I have known that when we use mass source, if the continuity source is negative (a mass sink), the values we specify will be ignored by the solver, and local solution variables will be used as shown in Mass (Continuity) Sources in the CFX-Solver Theory Guide Ch1.8.3. Mass (Continuity) Sources:
https://www.sharcnet.ca/Software/Ans.../i1300172.html

May I know what is the definition of the 'local solution'? Is it the value at current time step? For example, in 1st order implicit time scheme, at time step n, will the 'local solution' be the variable value at time step n or time step n+1? When the simulation is running the iterations will the 'local solution' vary with the iterations?

And how can we express this 'local solution' in the CCL in CFX-Pre

Thank you very much!

Opaque May 9, 2018 08:45

local solution = control volume value at the current iteration


All times are GMT -4. The time now is 21:37.