CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Actuator Disk Modeling in OpenFOAM (https://www.cfd-online.com/Forums/openfoam-solving/130498-actuator-disk-modeling-openfoam.html)

ajaysingh83 February 27, 2014 06:13

Actuator Disk Modeling in OpenFOAM
 
Hi
I am quite new to OpenFOAM. I wanted to see the effect of rotor in fuselage. I adopted the approach of Actuator Disk Modeling and took the help from Erik Svenning report and his code. I could compile the code with some modification and generate the executable. I am able to run the case with new executable but I am facing problem to write the data like pressure and velocity at certain probe location. If I use the simpleFoam (as its there in OpenFOAM) It writes the data but if I use my executable, it does not write the file. Can somebody please help me to resolve this problem. I am using the following function in controlDict file to write the data.

functions
{
forces_fuselage
{
type forces;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 10;
patches
(
fuse
);
pName p;
UName U;
rhoName rhoInf;
log true;
rhoInf 1.205;
CofR (7.0358 0 1.6129); //momnet point
}
}


All times are GMT -4. The time now is 12:28.