|
[Sponsors] |
August 22, 2011, 12:13 |
Basic moving object help!
|
#1 | |
New Member
Join Date: Jul 2011
Location: London, UK
Posts: 6
Rep Power: 15 |
I am trying to obtain the lift and drag of a hydrofoil.
I have a mesh which works for steady cases, now I am trying to run a transient case with the airfoil moving. I am trying to use a UDF to achieve this but keep getting this error "warning: incorrect cg motion UDF flutter on zone 7 (assuming no motion)" My UDF is as follows, I am very new to C programming so may have made some basic mistakes. Quote:
|
||
August 23, 2011, 05:10 |
|
#2 |
New Member
Join Date: Aug 2011
Posts: 3
Rep Power: 15 |
In your UDF, the moving direction of the object was not defined. VEL[0], VEL[1], VEL[2] stand for the x,y,z-component of velocity, respecitvely. In addition, 'CURRENT_TIME' which means 'real current flow time (in seconds)' is suggested to replace 'Time' in your UDF expression. More detailed informations about DEFINE_CG_MOTION macro could be found in chapter2.6.1 in Fluent documentation.
|
|
Tags |
basic, moving, oscillating, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
Moving object close to ground | vinz | OpenFOAM Running, Solving & CFD | 0 | March 22, 2010 11:33 |
Modeling flow over a moving object | psd | Main CFD Forum | 3 | October 21, 2009 08:46 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |