|
[Sponsors] |
Adding forcecoeffs file to the controldict is causing pimpleDyMfoam to crash. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 9, 2014, 20:01 |
Adding forcecoeffs file to the controldict is causing pimpleDyMfoam to crash.
|
#1 |
Member
Pruthvi
Join Date: Feb 2014
Posts: 41
Rep Power: 12 |
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. |
|
Tags |
dynamicmesh, openfoam 2.3.0, pimpledymfoam |
|
|
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 |