reconstructPar crashes with unknow patchfield type
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. |
Did you try "Allrun.pre" script?
|
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.
|
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 #------------------------------------------------------------------------------ |
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 |
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:
|
All times are GMT -4. The time now is 22:57. |