|March 12, 2013, 04:25||
Help with Field Function describing Force
Join Date: Jan 2013
Posts: 6Rep Power: 5
I am attempting to model the motion of a vehicle that behaves as follows -- While above a certain Depth (say, 2.5m), there is a force acting downwards. And when it goes below 2.5m, the force begins to act upwards.
I have tried modeling this by using a field function for a Force acting on the CM of the object. However, I am getting the following error --
"Error: field function 'Simulation>BodyManager>Body("Body 1")>ExternalForceAndMomentManager>ExternalForceCM( "Force CM 1")>VectorPhysicalQuantity>InlineFieldFunction("In lineFieldFunction")' compilation error: syntax error
Cannot evaluate expression"
The expression I am using is
[50.0, ($$Centroid  > -2.5) ? -25.0, 0.0]
This is given in the DFBI --> 6-DOF Bodies --> External Forces and Moments --> <Name of Force> --> Force space.
Any idea why this is happening?
|March 12, 2013, 23:59||
Join Date: Aug 2010
Posts: 109Rep Power: 7
The centroid field function is used for getting the centroid of the mesh.
You need to refer to the centroid of the vehicle I believe.
|field function, marine vehicle, variable force|
|Thread||Thread Starter||Forum||Replies||Last Post|
|foamToTecplot360||thomasduerr||OpenFOAM Post-Processing||111||April 5, 2016 21:28|
|whats the cause of error?||immortality||OpenFOAM Running, Solving & CFD||11||April 22, 2014 12:32|
|is internalField(U) equivalent to zeroGradient?||immortality||OpenFOAM Running, Solving & CFD||7||March 29, 2013 02:27|
|mean, variance and covariance statistics of any field function on any part.||Subhadeep||STAR-CCM+||8||February 18, 2010 18:19|
|Problem with compile the setParabolicInlet||ivanyao||OpenFOAM Running, Solving & CFD||6||September 5, 2008 20:50|