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

reconstructPar crashes with unknow patchfield type

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By adhiraj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2020, 14:30
Default reconstructPar crashes with unknow patchfield type
  #1
New Member
 
Jeff Stout
Join Date: Dec 2019
Posts: 8
Rep Power: 6
jeffery0630 is on a distinguished road
Ok, I downloaded mingw version of v1912 of OpenFoam from:

https://sourceforge.net/projects/ope...r.exe/download

So I copied two tutorial projects (propeller, rotatingFanInRoom) to the home directory and ran the "Allrun" scripts. But both scripts crashed when executing reconstructPar with the following error:

rotatingFanInRoom:
--> FOAM FATAL IO ERROR:
Unknown patchField type kqRWallFunction for patch type wall

or

propeller:
--> FOAM FATAL IO ERROR:
Unknown patchField type epsilonWallFunction for patch type wall

then it prints out the acceptable patchfield types:

Valid patchField types :

71
(
advective
calculated
codedFixedValue
codedMixed
cyclic
cyclicACMI
cyclicAMI
cyclicSlip
directionMixed
empty
exprFixedValue
exprMixed
extrapolatedCalculated
fan
fanPressure
fixedFluxExtrapolatedPressure
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedMeanOutletInlet
fixedPressureCompressibleDensity
fixedProfile
fixedValue
freestream
freestreamPressure
inletOutlet
inletOutletTotalTemperature
interfaceCompression
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mixed
nonuniformTransformCyclic
outletInlet
outletMappedUniformInlet
partialSlip
phaseHydrostaticPressure
plenumPressure
prghPressure
prghTotalHydrostaticPressure
prghTotalPressure
processor
processorCyclic
rotatingTotalPressure
scaledFixedValue
sliced
slip
symmetry
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
totalPressure
totalTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
uniformDensityHydrostaticPressure
uniformFixedGradient
uniformFixedValue
uniformInletOutlet
uniformJump
uniformJumpAMI
uniformTotalPressure
variableHeightFlowRate
waveSurfacePressure
waveTransmissive
wedge
zeroGradient
)


So yeah, those patchfield types are not in the list. How come an example from the same download doesn't work?


I'm running this on Windows 7 machine.
jeffery0630 is offline   Reply With Quote

Old   March 3, 2020, 15:07
Default
  #2
New Member
 
Akash Patel
Join Date: Dec 2018
Location: Champaign, IL, USA
Posts: 20
Rep Power: 7
akashpatel95 is on a distinguished road
Did you try "Allrun.pre" script?
__________________
We are developing an open-source software for constructing reduced order models for your CFD simulations in OpenFOAM that runs several magnitude faster. Visit the link below to learn more.
AccelerateCFD - OpenFOAM based reduced order model solver for CFD using Proper Orthogonal Decomposition.
akashpatel95 is offline   Reply With Quote

Old   March 3, 2020, 17:01
Default
  #3
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
This is strange and will be linked probably to the cross compilation. Can you please go to develop.openfoam.com and report new issue? The cross compilation needs to be checked.
matejfor is offline   Reply With Quote

Old   March 4, 2020, 11:15
Default
  #4
New Member
 
Jeff Stout
Join Date: Dec 2019
Posts: 8
Rep Power: 6
jeffery0630 is on a distinguished road
The Allrun script has a call to Allrun.pre.

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------

./Allrun.pre

runApplication decomposePar
runParallel $(getApplication)
runApplication reconstructPar

#------------------------------------------------------------------------------
jeffery0630 is offline   Reply With Quote

Old   March 5, 2020, 14:19
Default
  #5
Senior Member
 
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 15
adhiraj is on a distinguished road
Is it possible that the library that contains the wall functions is not loaded when you launch reconstructPar?

In that case maybe including the library in the system/controlDict file might work. In my version, the required library can be added like this:
Code:
libs
(
    "libturbulenceModels.so"
);
Perhaps you can find something equivalent for your version and platform?
Hydropower likes this.
adhiraj is offline   Reply With Quote

Old   May 22, 2020, 06:00
Default
  #6
New Member
 
Tim Taylor
Join Date: May 2020
Posts: 2
Rep Power: 0
tt323 is on a distinguished road
has anyone found a fix for this problem? I am using the same Mingw v1912 on Win10 x64.

i am trying to run a buoyantPimpleFoam solver after using decomposePar.

The simulation runs fine, but when i try to reconstructPar it shows a similar error message:

Quote:
--> FOAM FATAL IO ERROR:
Unknown patchField type externalWallHeatFluxTemperature for patch type wall

Valid patchField types :

88
(
...
)

file: E:/OpenFOAM/v1912/msys64/home/ofuser/WS-v1912/run/examples/heatStore/6/processor0/0.25/T.boundaryField.exteriorWalls

From function static Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New(const Foam::fvPatch&, const Foam:imensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = double]
in file /home/buzz2/pawan/OpenFOAM/mingw-windows/OpenFOAM-v1912/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 130.

tt323 is offline   Reply With Quote

Reply


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
FOAM FATAL ERROR: Maximum number of iterations exceeded: 100 antoniomollo OpenFOAM Running, Solving & CFD 5 March 2, 2023 06:13
reactingMultiphaseEulerFoam tonnykz OpenFOAM Running, Solving & CFD 2 June 15, 2020 02:09
time step continuity problem in VAWT simulation lpz_michele OpenFOAM Running, Solving & CFD 5 February 22, 2018 19:50
Inlet patch problems martyn88 OpenFOAM Running, Solving & CFD 6 April 21, 2017 18:34
Modified pimpleFoam solver to MRFPimpleFoam solver hiuluom OpenFOAM Programming & Development 12 June 14, 2015 21:22


All times are GMT -4. The time now is 16:55.