CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

XiFoam equations

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 18, 2012, 23:08
Default XiFoam equations
Join Date: May 2011
Posts: 71
Rep Power: 8
newOFuser is on a distinguished road

Could someone please translate the XiFoam code below into equation form? I want to check how they relate to the equations from Weller's paper:

Basically I want to see how Us(.)(grad (rho Xi)) in the transport equation for Xi equals
fvm::div(phi + phiXi, Xi, "div(phiXi,Xi)") - fvm::Sp(fvc::div(phiXi), Xi)

surfaceScalarField phiXi = phiSt
fvc::interpolate(fvc::laplacian(turbulence->alphaEff(), b)/mgb)*nf
+ fvc::interpolate(rho)*fvc::interpolate(Su*(1.0/Xi - Xi))*nf;

fvScalarMatrix XiEqn
fvm::ddt(rho, Xi)
+ fvm::div(phi + phiXi, Xi, "div(phiXi,Xi)")
- fvm::Sp(fvc::div(phiXi), Xi)
- fvm::Sp(rho*(R - G), Xi)
- fvm::Sp(rho*max(sigmat-sigmas,dimensionedScalar("0",sigmat.dimensions(), 0)),Xi)
Thanks so much!
newOFuser is offline   Reply With Quote

Old   March 22, 2012, 03:32
Senior Member
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 601
Blog Entries: 5
Rep Power: 17
elvis will become famous soon enough

did you read

Tutorial XiFoam
Version: OpenFOAM-1.7.x
Ehsan Yasari
elvis is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favre averaged Navier-Stokes equations help siw Main CFD Forum 3 June 24, 2016 11:26
Guide: Writing Equations in LaTeX on the CFD Online Forums pete Site Help, Feedback & Discussions 20 June 16, 2015 13:52
Riemann invariants of adjoint equations of shallow water equations zqb0929 Main CFD Forum 0 March 15, 2012 01:54
CFD governing equations m.gos Main CFD Forum 0 April 30, 2011 14:21
Question about UDS equations tstorm FLUENT 1 January 11, 2010 14:02

All times are GMT -4. The time now is 02:33.