CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Force Force-coeffs 3D simulation (https://www.cfd-online.com/Forums/openfoam/75424-force-force-coeffs-3d-simulation.html)

enry April 25, 2010 12:45

Force Force-coeffs 3D simulation
 
Hi all,

I'm doing a 3D simulation on Vertical Axis Wind Turbine. I need to calculate the force on surface. I attached the following lines to my controlDict file.


force
{
type forces;
functionObjectLibs ("libforces.so"); //Lib to load
patches (blades); // change to your patch name
rhoName rhoInf;
rhoInf 1.225; //Reference density for fluid
CofR (0 0 0); //Origin for moment calculations
outputControl timeStep;
outputInterval 1;
}
forceCoeffs
{
// rhoInf - reference density
// CofR - Centre of rotation
// dragDir - Direction of drag coefficient
// liftDir - Direction of lift coefficient
// pitchAxis - Pitching moment axis
// magUinf - free stream velocity magnitude
// lRef - reference length
// Aref - reference area
type forceCoeffs;
functionObjectLibs ("libforces.so");
patches (blades);
rhoName rhoInf;
rhoInf 1.225;
CofR (0 0 1);
liftDir (0 1 0);
dragDir (1 0 0);
pitchAxis (1 0 0);
magUInf 6;
lRef 1;
Aref 1;

outputControl timeStep;
outputInterval 1;
}



If the model is 2D no errors appear on the screen, but when I run a 3D simulation appear the following error:

*** glibc detected *** turbDyMFoam: corrupted double-linked list: 0x088466f8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb593b0cd]
/lib/tls/i686/cmov/libc.so.6[0xb593c88e]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb59404f0]
/home/enrico/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb5b1d051]
/home/enrico/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d )[0xb5afb61d]
/home/enrico/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam14primitiveEntryD0Ev+0x111)[0xb5d0a531]
/home/enrico/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam10dictionaryD2Ev+0x79)[0xb5d03d79]
/home/enrico/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam15dictionaryEntryD0Ev+0x33)[0xb5d10da3]
/home/enrico/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam10dictionaryD1Ev+0x79)[0xb5d023a9]
/home/enrico/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libOpenFOAM.so[0xb5c8eaeb]
/lib/tls/i686/cmov/libc.so.6(__cxa_finalize+0xb1)[0xb58ff3b1]
/home/enrico/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libOpenFOAM.so[0xb5c8e893]
/home/enrico/OpenFOAM/OpenFOAM-1.5-dev/lib/linuxGccDPOpt/libOpenFOAM.so[0xb5f9531c]
/lib/ld-linux.so.2[0xb771a00f]
/lib/tls/i686/cmov/libc.so.6(exit+0xd4)[0xb58ff084]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe8)[0xb58e7458]
turbDyMFoam(_ZNK4Foam11regIOobject11writeObjectENS _8IOstream12streamFormatENS1_13versionNumberENS1_1 5compressionTypeE+0xcd)[0x8058ee1]
======= Memory map: ========
[..] etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc


Can anybody help me?
Thanks in advance.
Enry.

desert_1250 July 14, 2011 09:41

3d VAWT
 
Hi herman, i hope that you are well
i have some question a bout 3d VAWT. i can simulate 2d VAWT with 3 bldes with GGI interface successfully; and now i wanna simulate 3 dimentional of it. would you guide me how perform it? would you send me any documention a bout 3d simulation. my experience a bout 3d dimention in OpenFOAMis very low.
tanx
__________
Rasoul


All times are GMT -4. The time now is 19:23.