|
[Sponsors] | |||||
|
|
|
#61 |
|
Member
The True
Join Date: Dec 2010
Posts: 79
Rep Power: 4 ![]() |
I have to change the pRef value to calculate the forces.
I am adding this statement to functions forces: pRef 1000; This does not change anything in values, it looks like it is invariant to the pRef value. How can I adapt the pRef value
|
|
|
|
|
|
|
|
|
#62 |
|
Member
The True
Join Date: Dec 2010
Posts: 79
Rep Power: 4 ![]() |
The flow field looked oke but given Cl value was not oke. So, I decided to calculate the Cl value by sampling pressure values. I get, Cl = 0.166, which looks oke , for airfoil at 0 angle of attack. ( I have not calculated shear stress, don't know how to do it yet. For now I assume it is small, icoFoam)
The OpenFoam gives these value: Cl = 0.00166316; Cd = 0.0000724 Strange, I see it now, it looks like Cl and Cd is missing a multiply with 100
|
|
|
|
|
|
|
|
|
#63 |
|
Member
The True
Join Date: Dec 2010
Posts: 79
Rep Power: 4 ![]() |
Still I haven't been able to specify the pRef value
![]() I have tried this in the controlDict file, to calculate force coefficients: pref pRefPoint (x y z); but openfoam doesn't see pRefPoint(x y z) as a scalar I get this error: wrong token type - expected Scalar |
|
|
|
|
|
|
|
|
#64 |
|
Member
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 5 ![]() |
Hi,
I would like to be able to take a look at the libforces.so file to understand how it calculate the forces and eventually modify the library. Does anyone knows how to do that? Thanks |
|
|
|
|
|
|
|
|
#65 |
|
Member
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 5 ![]() |
This thread Solver for FSI strongly coupled is related to force calculations. Does any one know the answer? Thanks
|
|
|
|
|
|
|
|
|
#66 | |
|
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 168
Rep Power: 6 ![]() |
Quote:
wallPressure { type surfaces; functionObjectLibs ("libsampling.so"); outputControl outputTime; outputInterval 5; surfaceFormat raw; interpolationScheme cell; fields ( alpha1 p ); surfaces ( leftwalls { type patch; patches (leftWall); interpolate true; triangulate false; } rightwalls { type patch; patches (rightWall); interpolate true; triangulate false; } ); } |
||
|
|
|
||
|
|
|
#67 |
|
Member
The True
Join Date: Dec 2010
Posts: 79
Rep Power: 4 ![]() |
Hi,
I have used for mine new simulation the solution of old case. Only the angle of attack ( so velocity and lift and drag coefficients ) is changed. The simulations went oke, however the calculated lift and drag coefficients are wrong. If I sample the pressure coefficients than I get the correct Cl , Cd values however not exact as I want. Because of the many simulations I do not want to run them all again. Is there any solution for this issue ? Is it possible to calculate the aerodynamic coefficients just based on the last time step ? Last edited by Eren10; March 20, 2012 at 08:41. |
|
|
|
|
|
|
|
|
#68 |
|
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 168
Rep Power: 6 ![]() |
Dear all:
I am simulating a small 2D tank with dimensions 8m long, 5m high and 0.01m in depth. I am subjecting the tank to a sinusoidal displacement only and have modified the controlDict to provide wall pressures for the left and right walls at every 0.02 secs. In my opinion, if I am supplying a sinusoidal displacement, the pressures should also be sinusoidal. However when I plot the pressures corresponding to fluid phase in the left and right walls, I get what looks like a very choppy representation, which does not make sense. Any help or advice on how to fix this would be greatly appreciated, Thanks. I have attached the input plot and the pressure plot. My mesh size is 200x200x1 |
|
|
|
|
|
|
|
|
#69 |
|
New Member
Fabio
Join Date: Sep 2012
Posts: 1
Rep Power: 0 ![]() |
One question: If I had a bi element airfoil (main&flap), I put in the patches the name of the two walls (main, flap), but for lRef e Aref I need to put 2 different values because the main airfoil and the flap have different chord and so different area. Help me please
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| changes to forces in 1.6 | linnemann | OpenFOAM Running, Solving & CFD | 0 | July 30, 2009 08:49 |
| Strange results from interFoam solution converges but sum of all forces not equal to zero | nicasch | OpenFOAM Running, Solving & CFD | 0 | April 15, 2008 02:01 |
| 2d foil pressure forces problem | mayor | FLUENT | 4 | December 1, 2003 03:57 |
| viscous-pressure forces | nico | FLUENT | 0 | June 9, 2003 14:41 |
| Valve Forces in CFdesign | Mike Clapp | Main CFD Forum | 3 | March 8, 2001 14:09 |