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

Re: value of Drag force, lift force, and pressure unexpected

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2022, 11:23
Default Re: value of Drag force, lift force, and pressure unexpected
  #1
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Hello to all

I got some different values of cl and cd snd pressure as well. My case is a 2D airfoil; the flow comes from a downward Y direction to the upward Y. U=10.5 m/s and moving wall boundary condition. this is my pimple simulation file
HTML Code:
ExecutionTime = 39151.23 s  ClockTime = 40502 s

forceCoeffs forces execute:
    Coefficients
        Cd       : -132.7221	(pressure: -133.06389	viscous: 0.34178725)
        Cs       : 1.6577795e-16	(pressure: 1.6569721e-16	viscous: 8.0738118e-20)
        Cl       : 303.84677	(pressure: 303.33214	viscous: 0.51462964)
        CmRoll       : 1.202228	(pressure: 1.2001917	viscous: 0.0020362308)
        CmPitch       : 22.873064	(pressure: 22.553154	viscous: 0.31990978)
        CmYaw       : 0.52514043	(pressure: 0.52649277	viscous: -0.0013523468)
        Cd(f)    : -65.158823
        Cd(r)    : -67.563278
        Cs(f)    : 0.52514043
        Cs(r)    : -0.52514043
        Cl(f)    : 174.79645
        Cl(r)    : 129.05032
streamLine streamLine1 write:
    seeded 0 particles
    Tracks:0
    Total samples:0
continuityError continuityError1 write:
    local = 2.0707245e-11
    global = 2.4884514e-14
    cumulative = -3.2172443e-12

    functionObjects::vorticity vorticity writing field: vorticityField
yPlus yPlus write:
    writing field yPlus
    patch airfoil y+ : min = 0.23817668, max = 154.31507, average = 52.044156
fieldAverage fieldAverage1 write:
    Calculating averages

    Writing average fields

End
Please check it and tell me where I am wrong?
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 2, 2022, 00:37
Default
  #2
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
The simple answer is your simulation is diverging. If that is not the case then you have used wrong boundary or initial conditions.
night-hawk is offline   Reply With Quote

Old   September 3, 2022, 05:21
Default
  #3
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
The simple answer is your simulation is diverging. If that is not the case then you have used wrong boundary or initial conditions.
Thanks for reply.

How can I know that my initial boundary or boundary condition is wrong?
please check my boundary file
HTML Code:
6
(
    left
    {
        type            cyclicAMI;
        inGroups        1(cyclicAMI);
        nFaces          715;
        startFace       138650;
        matchTolerance  0.0001;
        transform       unknown;
        neighbourPatch  right;
        AMIMethod       faceAreaWeightAMI;
        restartUncoveredSourceFace 1;
    }
    right
    {
        type            cyclicAMI;
        inGroups        1(cyclicAMI);
        nFaces          715;
        startFace       139365;
        matchTolerance  0.0001;
        transform       unknown;
        neighbourPatch  left;
        AMIMethod       faceAreaWeightAMI;
        restartUncoveredSourceFace 1;
    }
    inlet
    {
        type            patch;
        nFaces          80;
        startFace       140080;
    }
    outlet
    {
        type            patch;
        nFaces          80;
        startFace       140160;
    }
    airfoil
    {
        type            wall;
        inGroups        1(wall);
        nFaces          310;
        startFace       140240;
    }
    leftRight
    {
        type            empty;
        inGroups        1(empty);
        nFaces          139600;
        startFace       140550;
    }
)
Thanks
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 3, 2022, 08:52
Default
  #4
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
Can you show your model in diagram? I have just noticed that y+ value is very high (assuming you are using a low- Reynolds Turbulence Model).
night-hawk is offline   Reply With Quote

Old   September 3, 2022, 09:34
Default
  #5
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
Can you show your model in diagram? I have just noticed that y+ value is very high (assuming you are using a low- Reynolds Turbulence Model).
Thanks for reply.

Which diagram do u want to see?
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 3, 2022, 11:33
Default
  #6
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
The model you are using for simulation.
night-hawk is offline   Reply With Quote

Old   September 3, 2022, 11:35
Default
  #7
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
The model you are using for simulation.
Thanks

Can you send me your Email-ID? I will send you the whole file and you can check it.
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 3, 2022, 11:42
Default
  #8
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by mehulsasvadiya1996@gmail. View Post
Thanks

Can you send me your Email-ID? I will send you the whole file and you can check it.
I have attached file here please check it
Attached Files
File Type: zip WT_case3.zip (32.6 KB, 3 views)
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 3, 2022, 12:12
Default
  #9
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
I am not sure what you trying to achieve, your Inlet has normal in x direction but it has velocity value in y direction. Are you trying to rotate airfoil to change angles of attack?
night-hawk is offline   Reply With Quote

Old   September 3, 2022, 12:14
Default
  #10
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
I am not sure what you trying to achieve, your Inlet has normal in x direction but it has velocity value in y direction. Are you trying to rotate airfoil to change angles of attack?
Thanks!!!

My inlet is IN Y-direction upward and outlet is top od Y-direction and have moving wall left and right as mentioned in blockMesh. I am not trying to change AOA.

Thanks
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 3, 2022, 12:19
Default
  #11
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
Are you using dynamic mesh in your simulation?
night-hawk is offline   Reply With Quote

Old   September 3, 2022, 12:21
Default
  #12
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
Are you using dynamic mesh in your simulation?
No, I am using cyclicAMI.
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 4, 2022, 15:35
Default
  #13
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
Are you using dynamic mesh in your simulation?
Hello Sir,

Have you checked my files? Where am I wrong?
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 5, 2022, 02:59
Default
  #14
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
One thing I noticed is nut value is 0 in initial condition. I would choose it 0.1 times of nu. Since you are not using dynamic Mesh there is no point in using AMI Interpolation. It just add additional computation cost. Last thing I will suggest is reducing max Co in controlDict to 5 from 20.
night-hawk is offline   Reply With Quote

Old   September 5, 2022, 03:16
Default
  #15
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
One thing I noticed is nut value is 0 in initial condition. I would choose it 0.1 times of nu. Since you are not using dynamic Mesh there is no point in using AMI Interpolation. It just add additional computation cost. Last thing I will suggest is reducing max Co in controlDict to 5 from 20.
Thanks for reply!!!!

I have periodic boundary the left and right walls. Do u think I should use MRF Property? I still do not understand why I can not use AMI interpolation? Thanks
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 5, 2022, 03:22
Default
  #16
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
You can use periodic boundary condition for that. AMI and MRF are mainly used when mesh motion is involved.
night-hawk is offline   Reply With Quote

Old   September 5, 2022, 03:25
Default
  #17
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
You can use periodic boundary condition for that. AMI and MRF are mainly used when mesh motion is involved.
Thanks

That is why I used CyclicAMI as a periodic boundary condition.
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 5, 2022, 03:32
Default
  #18
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
I am talking about this https://www.openfoam.com/documentati...ed-cyclic.html


Here you can get more Info periodic set up - cyclicAMI
night-hawk is offline   Reply With Quote

Old   September 5, 2022, 04:01
Default
  #19
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by night-hawk View Post
Thanks

After reading this I have not found any wrong with my Boundary conditions. Have you seen anything wrong?
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   September 5, 2022, 04:24
Default
  #20
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
I don't understand why are using cyclic boundary condition? Your simulation involves measuring Cd and Cl on a airfoil. Anyways you probably need to edit nut initial condition and run the simulation. And also add log file of your simulation if you encounter any error it helps a lot.
night-hawk is offline   Reply With Quote

Reply


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
How to save viscous drag force and pressure drag force at each time step ? Alexis DUBOIS FLUENT 5 August 6, 2022 05:20
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" ds4719 Main CFD Forum 14 February 18, 2022 18:05
Calculation of lift and drag coefficients on airfoil CoolHersheys OpenFOAM Post-Processing 5 September 27, 2021 06:04
udf for compute pressure drag force fatemi Fluent UDF and Scheme Programming 1 January 26, 2018 13:27
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 22:02


All times are GMT -4. The time now is 06:47.