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

LEMOS-2.3.x inflow generator bug with decomposePar

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2017, 10:16
Default LEMOS-2.3.x inflow generator bug with decomposePar
  #1
New Member
 
Yiran Chen
Join Date: Oct 2014
Posts: 3
Rep Power: 12
chenyr10 is on a distinguished road
I was trying to run a LES case in parallel, the boundary for U at inlet is 'decayingTurbulenceInflowGenerator' from libLEMOS-2.3.x (my openfoam version is 2.3.0).

When I run decomposePar, the error occured like:

Time = 0
#0 Foam::error:rintStack(Foam::Ostream&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 ? in "/lib64/libc.so.6"
#3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam::sqrt(Foam::tmp<Foam::Field<double> > const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5 Foam::decayingTurbulenceFvPatchVectorField::decayi ngTurbulenceFvPatchVectorField(Foam::fvPatch const&, Foam:imensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib/libLEMOS-2.3.x.so"
#6 Foam::fvPatchField<Foam::Vector<double> >::adddictionaryConstructorToTable<Foam::decayingT urbulenceFvPatchVectorField>::New(Foam::fvPatch const&, Foam:imensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib/libLEMOS-2.3.x.so"
#7 Foam::fvPatchField<Foam::Vector<double> >::New(Foam::fvPatch const&, Foam:imensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"
#8 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::readField( Foam:imensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"
#9 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"
#10 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::readFields() in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"
#11 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"
#12 ? in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"
#13 ? in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"
#14 __libc_start_main in "/lib64/libc.so.6"
#15 ? in "/vol6/home/ccegroup/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/decomposePar"

I found that the problem is relevant to the RField in the boundary, if the RField is set to be a uniform value like 'uniform (10 0 0 10 0 10)' then decomposePar is ok. But if I set it to be a list of nonuniform symmTensor, then the error happens.

Could someone please tell me why the error happens and how to solve it?
chenyr10 is offline   Reply With Quote

Old   November 21, 2017, 13:31
Default
  #2
New Member
 
Xu Huang
Join Date: Apr 2015
Location: Netherlands
Posts: 23
Rep Power: 11
xuhuang is on a distinguished road
Hi Yiran,

This is probably due to Lund transformation in the boundary condition. You have a negative number while using function sqrt(*). Make sure your nonuniform RField gives you proper values, or you can use limiters.

Cheers,
Xu
xuhuang is offline   Reply With Quote

Reply

Tags
decomposepar, inflowgenerator, lemos


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
interFoam employed LEMOS inflow generator dkjiao OpenFOAM Running, Solving & CFD 0 February 20, 2017 04:12
decomposePar 4-core warning/error? Boloar OpenFOAM Bugs 23 April 8, 2014 09:57
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 06:27


All times are GMT -4. The time now is 13:33.