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

a little confused with the implementation of compressibleInterFoam

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

Like Tree1Likes
  • 1 Post By su_junwei

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2012, 07:28
Default a little confused with the implementation of compressibleInterFoam
  #1
Senior Member
 
su_junwei's Avatar
 
su junwei
Join Date: Mar 2009
Location: Xi'an China
Posts: 151
Rep Power: 20
su_junwei is on a distinguished road
Send a message via MSN to su_junwei
Hi Foamers
The following thread discussed the implementation of compressibleInterFoam.
http://www.cfd-online.com/Forums/ope...interfoam.html

I am confused with the implementation of dgdt in the file pEqn.H
In this thread, we can get.
dgdt = { ( psi2 / rho2) - (psi1 / rho1) } DpDt
However, in the implementation, it gives

dgdt = (pos(alpha2)*psi2/rho2 - pos(alpha1)*(psi1/rho1))*(p_rghEqnComp & p_rgh);

Is this right? shoud it be
dgdt = (psi2/rho2 - psi1/rho1))*(p_rghEqnComp & p_rgh);

where are alpha1 and alpha2 from?

would you please give me some tips?

Best Regards, Junwei
su_junwei is offline   Reply With Quote

Old   March 8, 2012, 02:03
Default
  #2
Senior Member
 
su_junwei's Avatar
 
su junwei
Join Date: Mar 2009
Location: Xi'an China
Posts: 151
Rep Power: 20
su_junwei is on a distinguished road
Send a message via MSN to su_junwei
I got it. pos is just a sign function.
krishtej23 likes this.
su_junwei is offline   Reply With Quote

Old   May 7, 2014, 17:33
Default Error while executing compressibleinterfoam
  #3
New Member
 
krishh
Join Date: Apr 2012
Posts: 16
Rep Power: 14
krishtej23 is on a distinguished road
Quote:
Originally Posted by su_junwei View Post
I got it. pos is just a sign function.
Hi,

I am trying to run a simulation using compressibleinterfoam application. I changed the alpha1 to alphaair, alphawater and alphadrop by creating each file separately. But when I try to run the code I get an error telling:


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.1-221db2718bbb
Exec : compressibleInterFoam
Date : May 07 2014
Time : 17:32:26
Host : "mountaineer"
PID : 15228
Case : /auto/scratch/mdinc/ottawa_simulations/new_corrected_B_cases/3D_simulations/earth_3b_of
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading g

PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field alpha1



--> FOAM FATAL IO ERROR:
cannot find file

file: /auto/scratch/mdinc/ottawa_simulations/new_corrected_B_cases/3D_simulations/earth_3b_of/0/alpha1 at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting


It is appreciable if you can help me in solving this.
Thank you.
krishtej23 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
Improved implementation of dynamic Smagorinsky alberto OpenFOAM Running, Solving & CFD 100 February 20, 2021 02:57
locDynOneEqEddy implementation and references alberto OpenFOAM Running, Solving & CFD 9 June 20, 2011 17:17
easy educational compressible navier stokes implementation anywhere? Boogiwoogie Main CFD Forum 0 December 19, 2010 06:32
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 05:10
Please explain the implementation of species transport Eqn in reactingFoam kallipygian OpenFOAM Running, Solving & CFD 0 October 13, 2008 07:29


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