CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Difference between OpenFOAM on Centos 7 and On Windows 10 (cygwin) (https://www.cfd-online.com/Forums/openfoam-programming-development/179886-difference-between-openfoam-centos-7-windows-10-cygwin.html)

JensGoldberg November 10, 2016 03:30

Difference between OpenFOAM on Centos 7 and On Windows 10 (cygwin)
 
Hello,

I am working as computational engineer at CFD+engineering in Munich. Currently we are working on a project in which we want to automatize a work flow in OpenFOAM for customers under Windows 10. To be able to use OpenFOAM on Windows 10 we are using a version of from CFDSupport (http://www.cfdsupport.com/openfoam-for-windows.html). The tutorials work fine so here is no problem. However if we start our automatized work flow we get an error message on Windows 10 when one of our applications computes after a run a new variable from U and k. The error we get says this:


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

Valid patchField types are :

63
(
advective
calculated
codedFixedValue
codedMixed
cyclic
cyclicACMI
cyclicAMI
cyclicSlip
directionMixed
empty
externalCoupled
fan
fanPressure
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedPressureCompressibleDensity
fixedValue
freestream
freestreamPressure
inletOutlet
inletOutletTotalTemperature
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mixed
nonuniformTransformCyclic
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
phaseHydrostaticPressure
prghPressure
processor
processorCyclic
rotatingTotalPressure
sliced
slip
symmetry
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
totalPressure
totalTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
uniformDensityHydrostaticPressure
uniformFixedGradient
uniformFixedValue
uniformInletOutlet
uniformJump
uniformJumpAMI
uniformTotalPressure
variableHeightFlowRate
waveSurfacePressure
waveTransmissive
wedge
windfoamABLInletEpsilon
zeroGradient
)


file: C:/Users/cfd/Goldberg/OFWind-2/ofwind/gui/work/case_deg000/10/k.boundaryField.terrain from line 53107 to line 53108.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /opt/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 143.

FOAM exiting


The interesting thing is that the solver we use doesn't have any problem. On Windows 10 as on Centos 7. In addition on Centos 7 the error doesn't occur.
If we add to the controlDict the entry "libturbulenceModels.so" the error vanishes on Windows 10.

We assume that on Centos 7 there is some kind of default lib defined which is always sourced (including "libturbulenceModels.so") and therefore the error doesn't come up here.
So my question is if anybody can tell me whether there is something like a default library which is included in the background and where this is defined in OpenFOAM?
The OpenFOAM we use on both system is OpenFAOM 2.3.x.

Thank you very much for your contribution in advance.

Jens


All times are GMT -4. The time now is 06:42.