|
[Sponsors] |
Error with rhocentralFoam(request for volScalarField) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2020, 07:05 |
Error with rhocentralFoam(request for volScalarField)
|
#1 |
New Member
Jason.H
Join Date: Dec 2018
Posts: 13
Rep Power: 8 |
Hello, I solve for the problem which is for supersonic flow with rhoCentralfoam
with Spalart-allmars model when I running my case, I get this error. --> FOAM FATAL ERROR: request for volScalarField psi from objectRegistry region0 failed available objects of type volScalarField are 19 ( thermo:mu thermosi rhoE_0 nut yWall rPsi rho nuTilda thermosi_0 e_0 alphat rho_0 p T rhoE e c muEff thermo:alpha ) From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>] in file /home/ubuntu/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam:bjectRegistry::lookupObject<Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const at ??:? #3 Foam::totalPressureFvPatchScalarField::updateCoeff s(Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&) at ??:? #4 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate() in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/rhoCentralFoam" #5 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/rhoCentralFoam" #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/rhoCentralFoam" Aborted (core dumped) I don't know exactly what is the problem like such as boundary condition or initial condition please help me. |
|
May 9, 2020, 07:18 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hi,
Your simulation tries to access "phi" field which is not exist. Instead "thermo : psi" is available. Replace "phi" with "thermo : psi" in your simulation settings. You will see that it was offered as an available field (the second within the available field list). Hope it helps. PS: Please remove the whitespace within "thermo : psi", if i write without whitespace it creates an emoji.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
May 9, 2020, 07:23 |
|
#3 |
New Member
Jason.H
Join Date: Dec 2018
Posts: 13
Rep Power: 8 |
Thank you for answering.
I'm not familiar with openfoam as I known, I set psi only for pressure boundary condition because I use total pressure condition. so you mean I should change psi to thermopsi? is it right? inlet { type totalPressure; rho rho; psi psi; gamma 1.4; p0 uniform 10000; value uniform 10000; } |
|
May 9, 2020, 07:31 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Yes, please.
From Code:
psi psi; Code:
psi thermo:psi;
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
May 9, 2020, 07:34 |
|
#5 |
New Member
Jason.H
Join Date: Dec 2018
Posts: 13
Rep Power: 8 |
Thank you so much. it really helps for me!!
|
|
May 9, 2020, 07:37 |
|
#6 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
pleasure - and good luck.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
July 23, 2020, 13:09 |
example of rhoCentralFoam with turbulence model
|
#7 |
New Member
Febriyan Prayoga
Join Date: Apr 2016
Location: Seoul
Posts: 21
Rep Power: 10 |
Hello, I am new to OpenFOAM. Would you please share your simulation case file? I am exploring OpenFOAM and I am stucked while trying to implement turbulence model in rhoCentralFoam application since there are no example in rCF with turbulence model case.
Regards, |
|
|
|