|
[Sponsors] |
Can OpenFOAM ESI run incompressible pimpleFoam as LTS? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 8, 2024, 08:17 |
Can OpenFOAM ESI run incompressible pimpleFoam as LTS?
|
#1 |
Member
Marķa Rosales
Join Date: Mar 2023
Location: Spain
Posts: 48
Rep Power: 3 |
Hi community,
I tried on OpenFOAM ESI 2012 run a RAS simulation using the set-up of A local time step (LTS) incompressible pimpleFoam solver, with localEuler in ddtSchemes and rDelta* numerics in fvSolution. The simulation prompt the error while trying tro finish 1st iteration of: Code:
--> FOAM FATAL ERROR: (openfoam-2012) request for volScalarField rDeltaT from objectRegistry region0 failed available objects of type volScalarField are 7(nut fp pPrevIter k nu p epsilon) From const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>] in file /home/mmros/OpenFOAMv2012/OpenFOAM-v2012/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 463. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::exitOrAbort(int, bool) at ??:? #2 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam::objectRegistry::lookupObject<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&, bool) const at ??:? #3 Foam::fv::localEulerDdtScheme<Foam::Vector<double> >::fvmDdt(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #4 ? in ~/OpenFOAMv2012/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/bin/pimpleFoam #5 ? in ~/OpenFOAMv2012/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/bin/pimpleFoam #6 ? in /lib/x86_64-linux-gnu/libc.so.6 #7 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #8 ? in ~/OpenFOAMv2012/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/bin/pimpleFoam Aborted (core dumped) I checked how tutorials of LTS where set-up for this version, and none for incompressible-pimpleFoam solver was built, you can find for reactingFoam, rhoPimpleFoam and interFoam. In comparison, OpenFOAM foundation does have tutorial for a incompressible pimplefoam case with LTS. Can it be that these versions of OpenFOAM ESI (2012 and 2306) do not support LTS on incompressible pimpleFoam? |
|
September 8, 2024, 12:45 |
|
#2 | |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 746
Rep Power: 14 |
There must be something wrong with your set up.
1. Look in pimpleFoam.C, and on line 84 you will see: Code:
#include "localEulerDdtScheme.H" 2. Try copying the pitzDaily tutorial case, and change fvSchemes.ddtSchemes to localEuler - it runs just fine, with LTS. Quote:
|
||
September 8, 2024, 13:15 |
|
#3 | |
Member
Marķa Rosales
Join Date: Mar 2023
Location: Spain
Posts: 48
Rep Power: 3 |
Quote:
|
||
September 8, 2024, 14:18 |
|
#4 |
Member
Marķa Rosales
Join Date: Mar 2023
Location: Spain
Posts: 48
Rep Power: 3 |
I found that at pimpleFoam.C from OFV2012 there is no #include "localEulerDdtScheme.H" which is a header file found in path OpenFOAM-v2012/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme.
Another lack is the bool operation to check if case is LTS and then read the header file of setRDeltaT.H which is also no included in pimpleFoam/. So for this version, to enable incompressible LTS by pimpleFoam looks like there the source code has to be modified. |
|
September 8, 2024, 15:14 |
|
#5 | |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 746
Rep Power: 14 |
Quote:
As a shortcut, you could try to compile the version from v2112 as a local user solver in v2012, if you are stuck with running under v2012, and see if that compiles ... |
||
Tags |
esi openfoam, pimple |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUIDE] Switching from incompressible to compressible simulation | gabrielfelix | OpenFOAM Running, Solving & CFD | 2 | September 3, 2021 13:45 |
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker | rt08 | OpenFOAM Installation | 1 | February 28, 2016 20:00 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
Unable to run a case with OpenFOAM 1.6-ext that works with OpenFOAM 2.3.0 | Jiricbeng | OpenFOAM Running, Solving & CFD | 15 | May 21, 2014 04:52 |
Openfoam Ubuntu 12.04 Unmet dependencies | slls33 | OpenFOAM Installation | 10 | April 9, 2013 05:16 |