Reference values

 Register Blogs Members List Search Today's Posts Mark Forums Read

 August 16, 2023, 08:19 Reference values #1 Senior Member   Saeed Jamshidi Join Date: Aug 2019 Posts: 214 Rep Power: 7 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; } }```

 August 17, 2023, 05:15 #2 Senior Member   Yann Join Date: Apr 2012 Location: France Posts: 1,104 Rep Power: 26 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

 August 17, 2023, 05:37 #3 Senior Member   Saeed Jamshidi Join Date: Aug 2019 Posts: 214 Rep Power: 7 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?

 August 17, 2023, 05:44 #4 Senior Member   Yann Join Date: Apr 2012 Location: France Posts: 1,104 Rep Power: 26 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.