CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   movingCone case with time-dependent displacement (http://www.cfd-online.com/Forums/openfoam-programming-development/82885-movingcone-case-time-dependent-displacement.html)

McCarra December 8, 2010 10:20

movingCone case with time-dependent displacement
 
Hello,

I would like to introduce a time-dependent displacement on movingCone. How can I do it? In the case the velocity is constant and set to 1 m/s.
What changes should I include?

Thanks

McCarra January 9, 2011 09:59

I got it.

The boundary condition to apply to the moving wall in 0/pointMotionUx is different. The condition is : timeVaryingUniformFixedValue.

And, just if anyone is interested, all the options in this tutorial case (pimpleDyMFoam/movingCone) to set as boundary conditions are:

calculated
cyclic
empty
fixedNormalSlip
fixedValue
global
mixed
processor
slip
symmetryPlane
timeVaryingUniformFixedValue
uniformFixedValue
value
wedge
zeroGradient

Hope it helps

Regards!

McCarra January 10, 2011 04:22

More precisely, the options above are related to a pointScalarField. In the movingCone case, pointMotionUx is a pointScalarField.

All possible boundary conditions for a volVectorField, like for example U (velocity), the options are some more:

SRFVelocity
activeBaffleVelocity
advective
calculated
cellMotion
cyclic
cylindricalInletVelocity
directMapped
directMappedVelocityFlux
directionMixed
empty
fixedGradient
fixedInternalValue
fixedNormalSlip
fixedValue
flowRateInletVelocity
fluxCorrectedVelocity
freestream
inletOutlet
mixed
movingWallVelocity
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
pressureDirectedInletOutletVelocity
pressureDirectedInletVelocity
pressureInletOutletVelocity
pressureInletUniformVelocity
pressureInletVelocity
pressureNormalInletOutletVelocity
processor
rotatingPressureInletOutletVelocity
rotatingWallVelocity
sliced
slip
supersonicFreestream
surfaceNormalFixedValue
surfaceSlipDisplacement
swirlFlowRateInletVelocity
symmetryPlane
timeVaryingFlowRateInletVelocity
timeVaryingMappedFixedValue
timeVaryingMappedPressureDirectedInletVelocity
timeVaryingUniformFixedValue
timeVaryingUniformInletOutlet
translatingWallVelocity
turbulentInlet
uniformFixedValue
waveTransmissive
wedge
zeroGradient

Some of them appear in tutorials, but MOST of them do not!

All the best


All times are GMT -4. The time now is 09:39.