|
[Sponsors] |
a little confused with the implementation of compressibleInterFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 7, 2012, 08:28 |
a little confused with the implementation of compressibleInterFoam
|
#1 |
Senior Member
|
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 |
|
March 8, 2012, 03:03 |
|
#2 |
Senior Member
|
I got it. pos is just a sign function.
|
|
May 7, 2014, 18:33 |
Error while executing compressibleinterfoam
|
#3 |
New Member
krishh
Join Date: Apr 2012
Posts: 16
Rep Power: 14 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Improved implementation of dynamic Smagorinsky | alberto | OpenFOAM Running, Solving & CFD | 100 | February 20, 2021 03:57 |
locDynOneEqEddy implementation and references | alberto | OpenFOAM Running, Solving & CFD | 9 | June 20, 2011 18:17 |
easy educational compressible navier stokes implementation anywhere? | Boogiwoogie | Main CFD Forum | 0 | December 19, 2010 07:32 |
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch | thomek | OpenFOAM Programming & Development | 0 | October 18, 2010 06:10 |
Please explain the implementation of species transport Eqn in reactingFoam | kallipygian | OpenFOAM Running, Solving & CFD | 0 | October 13, 2008 08:29 |