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

freestremVelocity doesn't work

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2020, 14:34
Default freestremVelocity doesn't work
  #1
New Member
 
Maciej Marczak
Join Date: Sep 2020
Posts: 7
Rep Power: 6
MMarczak is on a distinguished road
Hi All


I've problem runing airfoil simulation.

After typing simpleFoam command, OpenFoam gives back information about my velocity boundary conditions, and as I understand it tells me that there is no such boundary conditios as "freestreamVelocity".


It is a bug or something?
In the past month I've used this condition quite often learing from airFoil2d tutorial and now freestremVelocity doesnt work even there.


Here is my terminal output:
Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0
Exec : simpleFoam
Date : Sep 29 2020
Time : 20:18:36
Host : "mmarczak-GV62-7RC"
PID : 11400
Case : /home/mmarczak/OpenFOAM/mmarczak-7/run/tutorials/incompressible/simpleFoam/airFoil2D_mycase
nProcs : 1
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


SIMPLE: convergence criteria
field p tolerance 1e-05
field U tolerance 1e-05
field nuTilda tolerance 1e-05

Reading field p

Reading field U



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

Valid patchField types are :

79
(
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
fluxCorrectedVelocity
freestream
inletOutlet
interstitialInletVelocity
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mappedFlowRate
mappedVelocityFlux
mixed
movingWallVelocity
noSlip
nonuniformTransformCyclic
outletInlet
outletMappedUniformInlet
outletPhaseMeanVelocity
partialSlip
pressureDirectedInletOutletVelocity
pressureDirectedInletVelocity
pressureInletOutletParSlipVelocity
pressureInletOutletVelocity
pressureInletUniformVelocity
pressureInletVelocity
pressureNormalInletOutletVelocity
processor
processorCyclic
rotatingPressureInletOutletVelocity
rotatingWallVelocity
sliced
slip
supersonicFreestream
surfaceNormalFixedValue
swirlFlowRateInletVelocity
symmetry
symmetryPlane
timeVaryingMappedFixedValue
translatingWallVelocity
turbulentInlet
uniformFixedGradient
uniformFixedValue
uniformInletOutlet
uniformJump
uniformJumpAMI
variableHeightFlowRateInletVelocity
waveTransmissive
wedge
zeroGradient
)


file: /home/mmarczak/OpenFOAM/mmarczak-7/run/tutorials/incompressible/simpleFoam/airFoil2D_mycase/0/U.boundaryField.Inlet from line 25 to line 19.

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 = Foam::Vector<double>]
in file /build/openfoam-8NJ_iy/openfoam-4.1+dfsg1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 134.

FOAM exiting
Maciej Marczak
MMarczak is offline   Reply With Quote

Old   September 29, 2020, 16:51
Default
  #2
Senior Member
 
Join Date: Oct 2017
Posts: 138
Rep Power: 9
Krapf is on a distinguished road
I think there is no "freestreamVelocity" in OpenFOAM 4. It was only added with v6.
Is it possible that you used OpenFOAM 4 by accident? At the top it says "Build: 4.0" but the case is located in your OpenFOAM 7 run directory. That would explain why it worked before.
Krapf is offline   Reply With Quote

Old   September 30, 2020, 02:18
Default
  #3
New Member
 
Maciej Marczak
Join Date: Sep 2020
Posts: 7
Rep Power: 6
MMarczak is on a distinguished road
Thank You so much


I don't know how the hell OpenFoam has switched to older version and I never had situation like that so I didnt even look at the OP verios information.


Thanks one time
I think the topic can be deleted
MMarczak 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
RP_Set_Integer does not work in parallel 86lolo Fluent UDF and Scheme Programming 2 July 3, 2014 11:37
Does CX_Interpret_String work in parallel? 86lolo Fluent UDF and Scheme Programming 2 June 30, 2014 04:36
Companies that lease software & hardware for cloud-based work? Catthan ANSYS 0 June 18, 2014 10:53
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 19:04.