|
[Sponsors] |
December 4, 2009, 14:00 |
problems with dimensionedScalar
|
#1 |
Member
Davide Lupo Conti
Join Date: Nov 2009
Posts: 34
Rep Power: 17 |
Hi Foamers....
I'm quite new to openFoam, and I'm having few basic problems while programming.. I'm working on interDyMFoam, OF1.5-dev and i'm doing a few changes in the mesh motion. now I am trying to integrate the equations of motion of a floating body. Therfore need to multiply she body velocity by the deltaT (mesh_.time().deltaT, i suppose) of the PISO loop... The problem is that mesh_.time().deltaT is a dimensionedScalar, body velocity is a scalar (double I think) and I must assign this product to a scalar (double). Obviously it's giving me ERROR. How can I do it? I really need some help.... thanks a lot! Davide |
|
December 6, 2009, 12:14 |
|
#3 |
Member
Davide Lupo Conti
Join Date: Nov 2009
Posts: 34
Rep Power: 17 |
Thanks a lot!...
seems to work now! thanks again! Davide |
|
Tags |
dimensioned, mesh, openfoam 1.5-dev, time |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 13:13 |
Help required to solve Hydraulic related problems | aero | CFX | 0 | October 30, 2006 12:00 |
Some problems with Star CD | Micha | Siemens | 0 | August 6, 2003 14:55 |
Using Fluent for Geophysical Problems | Hassid Samuel | FLUENT | 0 | February 23, 2001 07:04 |
Inverse problems | Aleksey Alekseev | Main CFD Forum | 0 | May 12, 1999 16:38 |