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

Reference values

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2023, 08:19
Default Reference values
  #1
Senior Member
 
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7
saeed jamshidi is on a distinguished road
Hello everyone,
Would you please tell know what is the lRef and Aref in force function. I,m going to calculate drag and lift coefficients of circular cylinder in openfoam. Assume that the diameter of cylinder is 0.04 and we have considered the thickness in z direction equal to 0.02.

Best,
Saeed


Code:
functions
{
    forces
    {
        type            forceCoeffs;
        functionObjectLibs ( "libforces.so" );
        outputControl   timeStep;
        outputInterval  1;
        patches         ( cylinder );
        pName           p;
        UName           U;
        rhoName         rhoInf;
        log             true;
        rhoInf          1;
        liftDir         (0 1 0);
        dragDir         (1 0 0);
        CofR            (-0.5 0 0);
        pitchAxis       (0 1 0);
        magUInf         1;
        lRef            1;
        Aref            1;
    }
}
saeed jamshidi is offline   Reply With Quote

Old   August 17, 2023, 05:15
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,085
Rep Power: 26
Yann will become famous soon enough
Hello Saeed,

These are the reference length and area to compute the coefficients.
https://doc.openfoam.com/2306/tools/...s/forceCoeffs/

The choice of these reference dimensions is arbitrary and depends on the application.

For a circular cylinder I guess the diameter should do the job as the reference length, and frontal area as reference area. But if you intend to compare your results with reference data, the best way would be to check what reference dimensions has been used, and use the same dimensions for your case.

Cheers,
Yann
Yann is offline   Reply With Quote

Old   August 17, 2023, 05:37
Default
  #3
Senior Member
 
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7
saeed jamshidi is on a distinguished road
Dear Yann, thank you for your response 🙏.
As you said, Aref is frontal area which means diameter of the cylinder times to the height of the cylinder. I'm worry about the value of the height of the cylinder, because it's arbitrary and on the basis of it we will have different Aref. Shall we consider it to 1 m?
saeed jamshidi is offline   Reply With Quote

Old   August 17, 2023, 05:44
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,085
Rep Power: 26
Yann will become famous soon enough
No, keep using the actual height of your cylinder. So you can compare coefficients between cylinders of different sizes.
What would be wrong would be to change the dimension you are using, or to not use the same characteristic dimension than the data you want to compare to. (like using something else than the cylinder height)

But with a circular cylinder there are not really a lot of options to choose from to define characteristic dimensions
saeed jamshidi likes this.
Yann 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
What are the best settings for a channel flow simulation? Ashkan Kashani CFX 3 October 13, 2022 21:36
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 00:58
It would be wonderful if a tool for FoamToTecplot is available luckyluke OpenFOAM Post-Processing 165 November 27, 2012 06:54
OpenFOAM-2.1.x on fedora 16 x86_64 anand_30 OpenFOAM Installation 3 December 26, 2011 02:09
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


All times are GMT -4. The time now is 21:12.