|
[Sponsors] |
November 7, 2011, 23:32 |
MULES problem
|
#1 |
Member
bojiezhang
Join Date: Jan 2010
Posts: 64
Rep Power: 16 |
Hello every foamer:
I have a problem about MULES, and I want to add source to my VOF equation, just like below: MULES::explicitSolve(geometricOneField(), alpha1, phi, phiAlpha, source , geometricZeroField() , 1, 0); but the result of the surface is inconsistent, so I look deep into the MULES, and find the quation below: psiIf = ( rho.oldTime().field()*psi0/deltaT + Su.field() - psiIf )/(rho.field()/deltaT - Sp.field()); I really can not find any relationship with the VOF equation in Rusche's and Jasak's theises, can anyone explain it? Thank you in advance! bojiezhang |
|
November 25, 2011, 06:10 |
|
#2 |
Senior Member
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18 |
Have you looked up in alphaEqn.H ?? As far as I know, there are the equation are stored.
Cheers |
|
November 28, 2011, 08:45 |
|
#3 |
Member
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16 |
Hi bojiezhang,
just take a look in the file MULESTemplates.C starting with the line: 00218 fvScalarMatrix psiConvectionDiffusion Good luck |
|
November 28, 2011, 09:47 |
|
#4 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
The interPhaseChangeFoam solver could give you a good example of how a source can be implemented.
__________________
~roman |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |