CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Adding forcecoeffs file to the controldict is causing pimpleDyMfoam to crash.

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 9, 2014, 20:01
Default Adding forcecoeffs file to the controldict is causing pimpleDyMfoam to crash.
  #1
Member
 
Pruthvi
Join Date: Feb 2014
Posts: 41
Rep Power: 12
pruthvi1991 is on a distinguished road
Hello all! I simulated an oscillating airfoil using pimpleDyMfoam and got some results. Later I added a forcecoeffs file and ran it again to measure forces and the solution is crashing.

I checked the log files and it seems like the forcecoeffs is altering the initial conditions of the spring. I gave anchor(0,0,0) , refattachment(0,0,0), velocity(0, 0.8, 0). In the log.pimpleDyMfoam file, it shows the initial spring length as (0, 9e-5,0) when it should actually be (0,0,0).

Here is my forcecoeffs file. At the end of the controldict file I added #include "forceCoeffs"

forceCoeffs1
{
type forceCoeffs;
// type forces;

functionObjectLibs ( "libforces.so" );

outputControl timeStep;
timeInterval 1;

log yes;

patches ( wing );
pName p;
UName U;
rhoName rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
liftDir (0 0 1);
dragDir (1 0 0);
CofR (0 0 0); // Axle midpoint on ground
pitchAxis (0 1 0);
magUInf 0;
lRef 0.001; // Wheelbase length
Aref 0.002; // Estimated

// binData
// {
// nBin 20; // output data into 20 bins
// direction (1 0 0); // bin direction
// cumulative yes;
// }
}

I uploaded the log.pimpleDyMfoam and dynamicMeshDict files. Please help me guys.
Attached Files
File Type: txt pimple.txt (6.0 KB, 14 views)
File Type: txt dynamicMeshDict.txt (2.2 KB, 15 views)
pruthvi1991 is offline   Reply With Quote

 

Tags
dynamicmesh, openfoam 2.3.0, pimpledymfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 08:48.