drag an lift coeffis after solution is done using ExecFlowFuntionObjects
I would like to calculate drag an lift coefficients after solution is done, It is possible to calculate it using “execFlowFuntionObjects” it generate a folder for forces and for forceCeffs, but it overwrite the file for every time-step.
When I solve the case the controldic works well, but it is no possible to use the same dic for postproccesing.
My controldic is:
functionObjectLibs ("libforces.so"); //Lib to load
patches (name); // change to your patch name
rhoInf 1.225; //Reference density for fluid
CofR (5.885 0 0); //Origin for moment calculations
CofR (5.885 0 0);
liftDir (0 0 1);
dragDir (-1 0 0);
pitchAxis (0 1 0);
Aref 8.91037; //projected area
Can someone help me?
Are you doing a transient simulation? I'd like to do the same for a transient simulation - I have a bunch of results for which I've now decided I'd like lift and drag coefficients for. Does anyone know how to do this??
I had no idea about execFlowFunctionObjects - what does this do?
Any solution for this problem? Why is the forces file overwritten each time step for postprocessing with execFlowFunctionObjects?
|All times are GMT -4. The time now is 19:22.|