|
[Sponsors] |
April 26, 2015, 18:50 |
Drag force on cylinder (laminar flow)
|
#1 |
New Member
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 11 |
Hello,
I've been trying to get the drag force and from there the coefficient of drag force yet I have this warning: WARNING Unable to calculate mass flow for the surface. Some or all of the required variables are not present: Density; Velocity; and for multi-phase cases, Volume Fraction. Do I need to define the values for these variables in CFD-Post or CFX-Pre? Also when I look into force in the variables list it shows that it is unknown. Why could that be the case? Thanks in advance! |
|
April 26, 2015, 20:11 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
Do you get this message in the solver or the post processor?
|
|
April 26, 2015, 20:25 |
|
#3 |
New Member
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 11 |
I get the warning in the post processor, and have tried to calculate force with various inputs of expressions with different surfaces yet it fails to give me an answer.
|
|
April 26, 2015, 21:14 |
|
#4 |
New Member
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 11 |
I just tried again, this time in CFX-Pre, with force_z, Normal Z and areaave(force_x) and I get the error:
"The following unrecognised names were referenced: areaave, force_z." I would really appreciate if you could help, thanks! |
|
April 26, 2015, 22:39 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
Post #3: Then you did not include this data in the results file. Some required variables are not present.
Post #4: The function name is "areaAve". force_z should work. The full list of functions, variables and their correct syntax is the CFX documentation in the reference guide. |
|
April 27, 2015, 02:47 |
|
#6 |
Member
Christian
Join Date: Sep 2013
Location: Germany
Posts: 88
Rep Power: 13 |
The expressions are chase sensitiv. Try force_Z
|
|
April 27, 2015, 07:29 |
|
#7 | |
New Member
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 11 |
Quote:
2) after I get the results with the streamline, I am trying to get the data from one of the point, or line to get the recirculation bubble length in the wake of the cylinder yet I am unable to pinpoint which point/line/plane I should pick to derive the graph of axial velocity against length. Any suggestions? Thank you so much for your help ghorrocks and Chris_321! |
||
April 27, 2015, 07:49 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
You defined the variables to go in the results file in the output tab of CFX-Pre. Unless you really need to save space I usually put all variables in the file to avoid this exact situation.
Precise definition of recirculation sizes is not a simple thing in 3D. In 2D it is straight forward as the location where the flow splits is the recirculation point, but in 3D you often have a flow in the third dimension - so is that in or out of the recirculation? So in 3D often you have to come up with some form of definition of recirculation size which is specific for your case. If could be where the axial velocity reverses on a central plane, or the wall shear stress reverses, or what streamlines from that point do. |
|
April 27, 2015, 18:58 |
|
#9 |
New Member
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 11 |
Thanks for your reply ghorrocks. I have tried what you suggested and included all the variables in the output file yet I still have a problem:
For force_z()@cylinder (in CFX-Pre) it gave the following error: ERROR Attempt to evaluate the CEL callback function 'force'. Although it is valid to create an expression that uses such a function, the preprocessor does not support its evaluation Then I tried force_z(t)@cylinder (since it is a transient flow and I want to plot the graph of oscillating drag force values against time) But I again get an error this time it is the following: ERROR In the expression assigned to 'expression', the function 'force_z' is called with the wrong number of arguments (1 - expected 0). Thanks again in advance! |
|
April 27, 2015, 19:09 |
|
#10 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
force_z()@cylinder is correct. The solver should be OK with it. The pre processor does not accept the full range of CEL expressions.
force_z(t)@cylinder is wrong, as the error message says. It does not use an argument. |
|
April 28, 2015, 04:39 |
|
#11 |
Member
Christian
Join Date: Sep 2013
Location: Germany
Posts: 88
Rep Power: 13 |
You can use the chart function in cfd post for the transient plot of the Expression.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drag force coefficient too low for a flow past cylinder at Re= 1e05 | Scabbard | STAR-CCM+ | 2 | June 5, 2020 15:44 |
Flow past a cylinder at Re 1e05 using LES, drag force coefficient is to low | Scabbard | Main CFD Forum | 21 | June 19, 2018 14:58 |
flow over a cylinder urgent! | kevin | FLUENT | 8 | August 11, 2015 14:00 |
Ratio of eddy viscosity to molecular viscosity : Laminar or turbulent flow? | JuPa | CFX | 7 | September 9, 2013 08:45 |
Drag Coefficient for flow past a Cylinder | o_mars_2010 | Main CFD Forum | 0 | April 18, 2013 07:17 |