CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Modified Atmospheric Boundary Layer BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2014, 10:30
Default Modified Atmospheric Boundary Layer BC
  #1
New Member
 
ashwin
Join Date: Jul 2012
Location: erlangen
Posts: 26
Rep Power: 14
ashghan is on a distinguished road
Hello Everybody,

I have modified the atmBoundaryLayerInletVelocity Boundary Condition to a customFvPatch Boundary condition (which is Attached). It is compiled and does not give any errors. However when I try to use it after updating my ControlDict. It gives me the following error.

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

Valid patchField types are :

68
(
SRFFreestreamVelocity
SRFVelocity
activeBaffleVelocity
activePressureForceBaffleVelocity
advective
atmBoundaryLayerInletVelocity
calculated
codedFixedValue
codedMixed
cyclic
cyclicAMI
cyclicSlip
cylindricalInletVelocity
directionMixed
empty
externalCoupled
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedNormalSlip
fixedValue
flowRateInletVelocity
fluxCorrectedVelocity
freestream
inletOutlet
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mappedFlowRate
mappedVelocityFlux
mixed
movingWallVelocity
nonuniformTransformCyclic
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
pressureDirectedInletOutletVelocity
pressureDirectedInletVelocity
pressureInletOutletParSlipVelocity
pressureInletOutletVelocity
pressureInletUniformVelocity
pressureInletVelocity
pressureNormalInletOutletVelocity
processor
processorCyclic
rotatingPressureInletOutletVelocity
rotatingWallVelocity
sliced
slip
supersonicFreestream
surfaceNormalFixedValue
swirlFlowRateInletVelocity
symmetryPlane
timeVaryingMappedFixedValue
translatingWallVelocity
turbulentInlet
uniformFixedValue
uniformJump
uniformJumpAMI
variableHeightFlowRateInletVelocity
waveTransmissive
wedge
zeroGradient
)
Can anybody tell me where am I going wrong.


Regards
Ashwin
Attached Files
File Type: gz custom.tar.gz (6.3 KB, 18 views)
ashghan is offline   Reply With Quote

Old   March 5, 2014, 07:15
Default
  #2
Senior Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13
Sherlock_1812 is on a distinguished road
Hi,

From the error you've posted it is seen that the patch doesn't recognise the boundary condition. Check if you've updated the Make/files files in the location where you've defined the boundary condition and give 'wmake' again.

Since you have already added libcustomFvPatchField.so to the controlDict it should recognise the BC.
__________________
Regards,

Srivaths
Sherlock_1812 is offline   Reply With Quote

Reply


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Atmospheric boundary layer Daniele111 OpenFOAM Running, Solving & CFD 50 November 3, 2023 04:22
Atmospheric Boundary Layer high turbulent flow Bollonga FLUENT 3 March 12, 2019 12:17
Simulation of atmospheric boundary layer Bazinga OpenFOAM Pre-Processing 1 February 19, 2014 14:15
Atmospheric boundary layer simulation samygero Main CFD Forum 0 March 22, 2011 10:36


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