|April 25, 2017, 12:13||
icoFoam : how to include a volScalarField in convection Term?
Amir Hossein Rabiee
Join Date: Apr 2017
Posts: 2Rep Power: 0
I am very new in OpenFOAM.
I want to change icoFoam solver in order to solve a special equation.
my equation is very similar to Navier Stokes equation with small differences. one of these differences is in convection term.
in my equation, convection term has an additional parameter which is a volScalarField , therefore I must implement div(U*U*eps) instead of div(U*U) -------> eps = volScalarField
but I can't write it in OpenFOAM language with no syntax errors
please help me
|April 26, 2017, 05:52||
Join Date: Feb 2016
Posts: 18Rep Power: 3
what you want is exactly like fvm::div(rhoPhi, U) where rho is a volScalar ,
have a look at the UEqn.H and creatField.H files in interFoam solver in this directory:
and follow the same path.
|Thread||Thread Starter||Forum||Replies||Last Post|
|writing execFlowFunctionObjects||immortality||OpenFOAM Post-Processing||30||September 15, 2013 06:16|
|ATTENTION! Reliability problems in CFX 5.7||Joseph||CFX||14||April 20, 2010 15:45|
|SOU for convection term||Ardalan||Main CFD Forum||3||April 17, 2010 16:10|
|[Q] Convection term treatment in UDS||Ryan, Lee||FLUENT||4||October 18, 2004 10:20|
|Convection Term||Senthil||Main CFD Forum||0||December 20, 2000 08:13|