|
[Sponsors] |
--> FOAM FATAL IO ERROR: Unknown patchField type freestreamVelocity for patch type pa |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Vikram Rajagopalan
Join Date: Nov 2018
Posts: 11
Rep Power: 7 ![]() |
Trying to solve the aerofoilNACA0012 tutorial with the rhoSimpleFoam solver and getting this error, any suggestions on how to fix this?
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 ![]() |
Can you show us the 0/U file?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Vikram Rajagopalan
Join Date: Nov 2018
Posts: 11
Rep Power: 7 ![]() |
Here it is --
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Uinlet (250 0 0); dimensions [0 1 -1 0 0 0 0]; internalField uniform $Uinlet; boundaryField { freestream { type freestreamVelocity; freestreamValue uniform $Uinlet; value uniform $Uinlet; } wall { type noSlip; } #includeEtc "caseDicts/setConstraintTypes" } // ************************************************** *********************** // |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 ![]() |
Can you please post the constant/polyMesh/boundary file.
I think you made a mistake in this file, check if the type of freestream boundary condition is "patch" not "pa" |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Vikram Rajagopalan
Join Date: Nov 2018
Posts: 11
Rep Power: 7 ![]() |
boundary file. My error message had more characters than allowed in the title so it cut it off to "pa"
I didn't make any changes to any of the files, I just opened the tutorial and ran 'blockMesh' and then 'rhoSimpleFoam' and that was the message // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 5 ( aerofoil { type wall; inGroups 1(wall); nFaces 120; startFace 31760; } inlet { type patch; inGroups 1(freestream); nFaces 200; startFace 31880; } outlet { type patch; inGroups 1(freestream); nFaces 160; startFace 32080; } back { type empty; inGroups 1(empty); nFaces 16000; startFace 32240; } front { type empty; inGroups 1(empty); nFaces 16000; startFace 48240; } ) // ************************************************** *********************** // |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 ![]() |
Please provide the full error message (or the case if possible). Without that, it is "guess what's wrong" game.
In your 0/U, freestream is a name of a patch, but in constant/polyMesh/boundary, there is no patch with that name?!!! |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Vikram Rajagopalan
Join Date: Nov 2018
Posts: 11
Rep Power: 7 ![]() |
Sorry about that - here's the entire error --
ran blockMesh first and then rhoSimpleFoam. Is there something else I need to be doing? // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 SIMPLE: convergence criteria field p tolerance 0.0001 field U tolerance 0.0001 field "(k|omega|e)" tolerance 0.0001 Reading thermophysical properties Selecting thermodynamics package { type hePsiThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } Reading field U --> FOAM FATAL IO ERROR: Unknown patchField type freestreamVelocity for patch type patch Valid patchField types are : 82 ( SRFFreestreamVelocity SRFVelocity SRFWallVelocity activeBaffleVelocity activePressureForceBaffleVelocity advective atmBoundaryLayerInletVelocity calculated codedFixedValue codedMixed cyclic cyclicACMI cyclicAMI cyclicSlip cylindricalInletVelocity directionMixed empty externalCoupled extrapolatedCalculated fixedGradient fixedInternalValue fixedJump fixedJumpAMI fixedMean fixedNormalInletOutletVelocity fixedNormalSlip fixedProfile fixedShearStress fixedValue flowRateInletVelocity flowRateOutletVelocity fluxCorrectedVelocity freestream inletOutlet interstitialInletVelocity kqRWallFunction mapped mappedField mappedFixedInternalValue mappedFixedPushedInternalValue mappedFlowRate mappedVelocityFlux matchedFlowRateOutletVelocity mixed movingWallVelocity noSlip nonuniformTransformCyclic outletInlet outletMappedUniformInlet outletPhaseMeanVelocity partialSlip pressureDirectedInletOutletVelocity pressureDirectedInletVelocity pressureInletOutletParSlipVelocity pressureInletOutletVelocity pressureInletUniformVelocity pressureInletVelocity pressureNormalInletOutletVelocity processor processorCyclic rotatingPressureInletOutletVelocity rotatingWallVelocity sliced slip supersonicFreestream surfaceNormalFixedValue swirlFlowRateInletVelocity swirlInletVelocity symmetry symmetryPlane timeVaryingMappedFixedValue translatingWallVelocity turbulentInlet uniformFixedGradient uniformFixedValue uniformInletOutlet uniformJump uniformJumpAMI variableHeightFlowRateInletVelocity waveTransmissive wedge zeroGradient ) file: /mnt/d/OpenFOAM/OpenFOAM-v1806/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012_1/0/U.boundaryField.freestream from line 27 to line 17. From function static Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New(const Foam::fvPatch&, const Foam: ![]() in file /home/ubuntu/OpenFOAM/OpenFOAM-5.x/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 134. FOAM exiting |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Vikram Rajagopalan
Join Date: Nov 2018
Posts: 11
Rep Power: 7 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 13 ![]() |
You are running a v-1806 tutorial in an Openfoam 5.0 environment. Openfoam 5.0 does not have the BC freestreamVelocity, hence the error.
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Vikram Rajagopalan
Join Date: Nov 2018
Posts: 11
Rep Power: 7 ![]() |
Oh that's what it is. Thanks Geir and Evren!
|
|
![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 ![]() |
That works for OpenFOAM 6 but not for OpenFOAM 5
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 01:47 |
Modified pimpleFoam solver to MRFPimpleFoam solver | hiuluom | OpenFOAM Programming & Development | 12 | June 14, 2015 21:22 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 17:08 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |