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 Members List Search Today's Posts Mark Forums Read

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: 2
Rep Power: 0
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: 11
Rep Power: 3
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: 159
Rep Power: 13
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: 2
Rep Power: 0
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: Maryland, United States
Posts: 153
Rep Power: 11
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?
adhiraj is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 4 October 11, 2019 00:22
reactingMultiphaseEulerFoam tonnykz OpenFOAM Running, Solving & CFD 1 March 13, 2019 14:04
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 00:23.