CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

"--> FOAM FATAL ERROR:" by post processing by rhoPimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2023, 08:34
Default "--> FOAM FATAL ERROR:" by post processing by rhoPimpleFoam
  #1
New Member
 
Khaled
Join Date: Jun 2023
Location: Hannover
Posts: 7
Rep Power: 3
elbatawy is on a distinguished road
- I have created source codes to compile and use the lib in the post processing. I am using OpenFOAM-v1612+

- After investigations the error appearing by reaching this part of the code, where `Ru1` is volTensorField

Code:
volTensorField Ru1( IOobject("Ru1", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedTensor("zero", dimensionSet(1, -1, -3, 0, 0), tensor::zero));
Code:
volVectorField divRu1 = fvc::div(Ru1);
- By using `rhoPimpleFoam` in post processing , i am getting always the below error , when i am using the `fvc::div()` function for volTensorField or volVectorField :
``````
--> FOAM FATAL ERROR: request for surfaceScalarField default from objectRegistry region0 failed available objects of type surfaceScalarField are
3 ( phi_0_0 phi phi_0 )
From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>] in file /home/buzz2/pawan/OpenFOAM/OpenFOAM-v1612+/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 219. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #2 Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const& Foam:bjectRegistry::lookupObject<Foam::Geometric Field<double, Foam::fvsPatchField, Foam::surfaceMesh> >(Foam::word const&, bool) const in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libturbulenceModels.so" #3 Foam::surfaceInterpolationScheme<Foam::Vector<doub le> >::addMeshConstructorToTable<Foam::linearUpwind<Fo am::Vector<double> > >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so" #4 Foam::surfaceInterpolationScheme<Foam::Vector<doub le> >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libturbulenceModels.so" #5 Foam::fv::divScheme<Foam::Vector<double> >::addIstreamConstructorToTable<Foam::fv::gaussDiv Scheme<Foam::Vector<double> > >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so" #6 Foam::fv::divScheme<Foam::Vector<double> >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libfieldFunctionObjects.so" #7 Foam::tmp<Foam::GeometricField<Foam::innerProduct< Foam::Vector<double>, Foam::Vector<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libfieldFunctionObjects.so" #8 Foam::functionObjects::TransportTerm::calc() in "/root/OpenFOAM/-v1612+/platforms/linux64GccDPInt32Opt/lib/libMTSFunctionObjects.so" #9 Foam::functionObjects::fieldExpression::execute() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libfieldFunctionObjects.so" #10 Foam::functionObjects::timeControl::execute() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #11 Foam::functionObjectList::execute() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #12 Foam::Time::run() const in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #13 ? in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/bin/rhoPimpleFoam" #14 __libc_start_main in "/lib64/libc.so.6" #15 ? in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/bin/rhoPimpleFoam" Aborted (core dumped)
``````

- any suggestion or help would so appreciated.

Last edited by elbatawy; August 13, 2023 at 13:54.
elbatawy is offline   Reply With Quote

Reply

Tags
divergence, rhopimplefoam


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
--> FOAM FATAL ERROR: Maximum number of iterations exceeded adambarfi OpenFOAM Running, Solving & CFD 35 April 27, 2016 09:55
[OpenFOAM] Take derivative of mean velocity in paraFoam hiuluom ParaView 13 April 26, 2016 07:44
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
decomposePar is missing a library whk1992 OpenFOAM Pre-Processing 8 March 7, 2015 08:53


All times are GMT -4. The time now is 05:21.