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

Problem of mappedPatch type

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2015, 02:07
Wink Problem of mappedPatch type
  #1
New Member
 
Zippo
Join Date: Jan 2015
Posts: 1
Rep Power: 0
ldxfx is on a distinguished road
Dear OFers,
I am working on the subject of periodic flows in a pipe. I set the inlet boundary type "mappedPatch" and outlet "patch". It works when the gridding is excessive, but if I reduce number of gridding, errors appear as follows.
I don't know where is the mistake.Oh,really hope you can bail me out!
Thanks!

Codes:
Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model laminar
No finite volume options present


SIMPLE: convergence criteria
field p tolerance 0.01
field U tolerance 0.001


Starting time loop

Time = 0.001

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::mapDistribute::mapDistribute(Foam::List<int> const&, Foam::List<int> const&) at ??:?
#4 Foam::mappedPatchBase::calcMapping() const at ??:?
#5 void Foam::mappedPatchBase::distribute<Foam::Vector<dou ble> >(Foam::List<Foam::Vector<double> >&) const at ??:?
#6 Foam::mappedPatchFieldBase<Foam::Vector<double> >::mappedField() const at ??:?
#7 Foam::mappedFixedValueFvPatchField<Foam::Vector<do uble> >::updateCoeffs() at ??:?
#8 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs() at ??:?
#9 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:?
#10
at ??:?
#11
at ??:?
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13
at ??:?
ldxfx is offline   Reply With Quote

Old   May 28, 2015, 04:56
Default We are on the same boat... let's start fishing then!
  #2
New Member
 
Join Date: Mar 2015
Location: Earth yet
Posts: 25
Rep Power: 11
coccone is on a distinguished road
Hi,

I guess I have a similar error output, I am working with chtMultiRegionFoam solver on coupled solid elements. I am not experienced in OF so I will not be too helpful, but hopefully sharing info could enlighten you or someone else.

What do you mean by gridding? Mesh fineness?

Anyway this is the log output:


Code:
[1] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[1] #1  Foam::sigSegv::sigHandler(int) at ??:?
[1] #2   in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3  Foam::mapDistribute::mapDistribute(Foam::List<int> const&, Foam::List<int> const&) at ??:?
[1] #4  Foam::mappedPatchBase::calcMapping() const at ??:?
[1] #5  void Foam::mappedPatchBase::distribute<double>(Foam::List<double>&) const at ??:?
[1] #6  Foam::compressible::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs() at ??:?
[1] #7  Foam::mixedFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) at ??:?
[1] #8  Foam::mixedEnergyFvPatchScalarField::updateCoeffs() at ??:?
[1] #9  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoeffs() at ??:?
[1] #10  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:?
[1] #11  
[1]  at ??:?
[1] #12  
[1]  at ??:?
[1] #13  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #14  
[1]  at ??:?
A few things I noticed on my case:

- I have this error output if I run it in parallel only.

-On a single processor it runs without crashing but the heat-flux calculated with snGrad() on one side of a coupled patch is not consistent with the opposite neither in magnitude nor in sign. In the same case there are other coupled patches which eventually tend to converge though...

-This happens only if I include one particular region on its coupled boundary, otherwise no issues with single or parallel run.

- I am not sure whether it could be mesh-dependent since I have tried several settings and geometries with no success. I must admit from checkMesh my mesh is quite bad though (8500 underDeterminedCells and 40 lowWeightFaces over 1M cells, only 300 underDeterminedCells come from that last region I want to add)

Have fun!


PS: maybe posting in the solving section could have been more appropriate than in the pre-processing one

Last edited by coccone; May 28, 2015 at 08:41. Reason: adding
coccone is offline   Reply With Quote

Old   September 4, 2020, 03:04
Default
  #3
New Member
 
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6
wanghongjie is on a distinguished road
Quote:
Originally Posted by ldxfx View Post
Dear OFers,
I am working on the subject of periodic flows in a pipe. I set the inlet boundary type "mappedPatch" and outlet "patch". It works when the gridding is excessive, but if I reduce number of gridding, errors appear as follows.
I don't know where is the mistake.Oh,really hope you can bail me out!
Thanks!

Codes:
Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model laminar
No finite volume options present


SIMPLE: convergence criteria
field p tolerance 0.01
field U tolerance 0.001


Starting time loop

Time = 0.001

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::mapDistribute::mapDistribute(Foam::List<int> const&, Foam::List<int> const&) at ??:?
#4 Foam::mappedPatchBase::calcMapping() const at ??:?
#5 void Foam::mappedPatchBase::distribute<Foam::Vector<dou ble> >(Foam::List<Foam::Vector<double> >&) const at ??:?
#6 Foam::mappedPatchFieldBase<Foam::Vector<double> >::mappedField() const at ??:?
#7 Foam::mappedFixedValueFvPatchField<Foam::Vector<do uble> >::updateCoeffs() at ??:?
#8 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs() at ??:?
#9 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:?
#10
at ??:?
#11
at ??:?
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13
at ??:?
Did you have a solution? I have a similar error output, maybe you can help me. Thanks!
wanghongjie is offline   Reply With Quote

Reply

Tags
coupled patches, mappedpatch periodic


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
second order schemes marine OpenFOAM 67 April 11, 2022 19:19
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
multiphaseInterFoam: timestep error by simulating a co-extrusion nozzle Quatschinsky OpenFOAM Running, Solving & CFD 7 March 27, 2014 06:08
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 18:06
T Junction Stability ignacio OpenFOAM Running, Solving & CFD 5 May 2, 2013 11:44


All times are GMT -4. The time now is 17:29.