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

InterFoam MULES solver

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

Like Tree3Likes
  • 3 Post By santiagomarquezd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2007, 12:40
Default Dear OpenFOAM uses and Develop
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Dear OpenFOAM uses and Developers

I request the forum users to shed some light on the details of how MULES works. Please share the information if anybody is aware of it.

I looked into the code and this is what it contains:

1) overloaded function templates for
--> explicitSolve - bounds can be supplied as the function argument;

--> explicitSolve01 - for a scalar bounded between 0 and 1;

--> implicitSolve01 - for a scalar bounded between 0 and 1;

and a function template for

--> limiter

InterFoam uses the MULES solver to solve for the volScalarField gamma and calls

MULES::explicitSolve01(gamma, phi, phiGamma).

This eventually calls the function template

template<class>
void Foam::MULES::explicitSolve
(
volScalarField& psi,
const surfaceScalarField& phi,
surfaceScalarField& phiPsi,
const SpType& Sp,
const SuType& Su,
const scalar psiMax,
const scalar psiMin
)


with Sp = zero
Su = zero
psiMax = 1.0
psiMin = 0.0

Could anybody please comment what does template arguments: class SpType, class SuType stand for?

Thanks in advance

Jaswinder
jaswi is offline   Reply With Quote

Old   November 13, 2012, 05:36
Default
  #2
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 15
joris.hey is on a distinguished road
I think they are representing eventual source terms in the advection equation. There is even this possibility :
Code:
void Foam::MULES::explicitSolve  (      const RhoType& rho,      volScalarField& psi,      const surfaceScalarField& phi,     surfaceScalarField& phiPsi,      const SpType& Sp,      const SuType& Su,     const scalar psiMax,      const scalar psiMin  )
with field rho.

How can I call this special MULES function (I need to provide both source terms and rho) ?

I do :

Quote:
MULES::explicitSolve (oneField (), alpha1 , phi , phiAlpha , volScalarField ("Sp",fvc::div(voidfraction*U)),zeroField (), 1, 0);
But it doesn't compile... What's wrong ?

Cheers,
J
joris.hey is offline   Reply With Quote

Old   November 13, 2012, 06:45
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Did you look at interPhaseChangeFoam?

See: http://foam.sourceforge.net/docs/cpp/a02688_source.html
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   November 13, 2012, 07:49
Default
  #4
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 15
joris.hey is on a distinguished road
yeah, I got it. it was because I should have written geometricOnesField() in place of OneField().

Thanks !
joris.hey is offline   Reply With Quote

Old   November 21, 2012, 09:56
Default
  #5
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24
santiagomarquezd will become famous soon enough
Hi Jaswinder, how you doing? MULES is an Flux Corrected Transport explicit solver for hyperbolic equations. Its implementation mostly follow the ideas of Zalesak limiter but the \lambda's are calculated iteratively. I'm going to give some details in my thesis soon but that's the basic idea.

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Research Scientist
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   November 17, 2020, 03:30
Smile InterFoam learning material/sources
  #6
New Member
 
Rohit
Join Date: Mar 2020
Location: IIT, Delhi, India
Posts: 9
Rep Power: 6
Rohitsingh is on a distinguished road
Send a message via Skype™ to Rohitsingh
Hey Jaswi,

I am new entry in this OpenFOAM interFoam solver learners list. Can you share some notes and ideas with me regarding VOF treatment, flow through porous media and other programming aspects in OpenFOAM.

my email id is : singhrohitace4@gmail.com
Rohitsingh is offline   Reply With Quote

Old   June 21, 2022, 09:46
Default
  #7
New Member
 
jitendra
Join Date: Aug 2013
Posts: 8
Rep Power: 13
j.patel is on a distinguished road
Hi Jaswinder,


I have just started learning the interFoam Solver in OpenFoam V9. I would be very grateful if you could send me some notes. my email id is;


jitendra.patel5789@gmail.com


Thank you in advance



Regards,
Jitendra
j.patel is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
About interFoam solver zou_mo OpenFOAM Running, Solving & CFD 129 December 2, 2019 06:39
Wmake problem interFoam solver feijooos OpenFOAM Running, Solving & CFD 4 December 8, 2008 12:01
DICPCG solver in interFoam m9819348 OpenFOAM Running, Solving & CFD 1 September 20, 2007 14:10
About interfoam solver qiu OpenFOAM Running, Solving & CFD 0 May 6, 2007 23:48
Need documentation for interFOAM solver mer OpenFOAM Running, Solving & CFD 5 May 31, 2006 13:22


All times are GMT -4. The time now is 15:16.