|
[Sponsors] |
March 30, 2011, 17:34 |
Wall forces in interFoam
|
#1 |
New Member
Dave West
Join Date: Mar 2011
Location: US
Posts: 12
Rep Power: 15 |
Hey all.
I'm a newcomer to openFoam, and trying to get a handle on VOF. I have been modifying the damBreak tutorial in version 1.7.0 and I would like to output the force on an obstacle. In my controlDict, I added: functions ( forces { type forces; functionObjectLibs ("libforces.so"); //Lib to load patches (block); // change to your patch name rhoName rhoInf; rhoInf 1000; //Reference density for fluid CofR (0 0 0); outputControl outputTime; //outputInterval 1; } ); Running proceeds until it tries to calculate the forces, then it errors out telling me: --> FOAM FATAL IO ERROR: keyword nu is undefined in dictionary ".../OpenFOAM/USRNAME-1.7.0/tutorials/multiphase/interFoam/laminar/damBreak/cons tant/transportProperties" But in the transportProperties file, nu is defined for both phase 1 and phase 2. Does the "force" function not work in multiphase? If not, is there an easy way to integrate the pressure over a patch? Seems it would have to be p, not p_rgh. A search showed that someone else had the same error, but they never mentioned if they got it working. Any help is greatly appreciated! |
|
Tags |
forces, interfoam, multiphase modelling |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thin Wall Heat Transfer BC for rhoSimpleFoam | swahono | OpenFOAM Running, Solving & CFD | 12 | October 4, 2013 11:49 |
Patches for OpenFOAM 1.7 on MacOS X | gschaider | OpenFOAM Installation | 101 | September 21, 2011 05:37 |
Forces on corrugated wall | kjetil | OpenFOAM Post-Processing | 0 | November 1, 2010 17:16 |
Quick Question - Wall Function | D.Tandra | Main CFD Forum | 2 | March 16, 2004 04:29 |
Extapolation of forces with wall laws. | Shu-Ren Hysing | Main CFD Forum | 3 | October 14, 2002 04:46 |