CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

twoPhaseEulerFoam CODE....

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2015, 00:24
Default twoPhaseEulerFoam CODE....
  #1
New Member
 
Vishal
Join Date: Feb 2013
Posts: 28
Rep Power: 13
vishal3 is on a distinguished road
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,
vishal3 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 20:00.