|
[Sponsors] |
April 15, 2015, 00:24 |
twoPhaseEulerFoam CODE....
|
#1 |
New Member
Vishal
Join Date: Feb 2013
Posts: 28
Rep Power: 13 |
DEAR FOAMERS and CODERS,
I am trying to understand the coding part of twoPhaseEulerFoam solver. In twoPhaseEulerFoam.C file, from line number 79-83: { volScalarField contErr1 ( fvc::ddt(alpha1, rho1) + fvc::div(alphaRhoPhi1) - (fvOptions(alpha1, rho1)&rho1) ); } In the above part, 1. the first term ( fvc::ddt(alpha1, rho1)) is solving accumulation term 2. Second part (fvc::div(alphaRhoPhi1)) is solving divergence term Similar to above two terms, what is the meaning of last term ((fvOptions(alpha1, rho1)&rho1))??? What is the significance of this term??? Can you represent this term mathematically?? What is the effect of this term on solution or convergence???? Also, how does fvOptions work here??? Please guys help me. Thanking you, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The FOAM Documentation Project - SHUT-DOWN | holger_marschall | OpenFOAM | 242 | March 7, 2013 12:30 |
How to make code run in parallel? | cwang5 | OpenFOAM Programming & Development | 1 | May 30, 2011 04:47 |
Open Source Vs Commercial Software | MechE | OpenFOAM | 28 | May 16, 2011 11:02 |
Small 3-D code | Zdravko Stojanovic | Main CFD Forum | 2 | July 19, 2010 10:11 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 11:44 |