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

Drag force on cylinder (laminar flow)

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

Like Tree4Likes
  • 1 Post By ghorrocks
  • 1 Post By Chris_321
  • 1 Post By ghorrocks
  • 1 Post By Chris_321

Reply
 
LinkBack Thread Tools Display Modes
Old   April 26, 2015, 17:50
Default Drag force on cylinder (laminar flow)
  #1
New Member
 
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 2
Beecee is on a distinguished road
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!
Beecee is offline   Reply With Quote

Old   April 26, 2015, 19:11
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Do you get this message in the solver or the post processor?
ghorrocks is offline   Reply With Quote

Old   April 26, 2015, 19:25
Default
  #3
New Member
 
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 2
Beecee is on a distinguished road
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.
Beecee is offline   Reply With Quote

Old   April 26, 2015, 20:14
Default
  #4
New Member
 
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 2
Beecee is on a distinguished road
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!
Beecee is offline   Reply With Quote

Old   April 26, 2015, 21:39
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
Beecee likes this.
ghorrocks is offline   Reply With Quote

Old   April 27, 2015, 01:47
Default
  #6
Member
 
Chris_321's Avatar
 
Christian
Join Date: Sep 2013
Location: Germany
Posts: 77
Rep Power: 3
Chris_321 is on a distinguished road
The expressions are chase sensitiv. Try force_Z
Beecee likes this.
Chris_321 is offline   Reply With Quote

Old   April 27, 2015, 06:29
Default
  #7
New Member
 
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 2
Beecee is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Post #3: Then you did not include this data in the results file.
1) Where can I have access to the results file, I remember I selected some variables but I forgot where I accessed them...

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!
Beecee is offline   Reply With Quote

Old   April 27, 2015, 06:49
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Old   April 27, 2015, 17:58
Default
  #9
New Member
 
Beril
Join Date: Mar 2015
Posts: 7
Rep Power: 2
Beecee is on a distinguished road
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!
Beecee is offline   Reply With Quote

Old   April 27, 2015, 18:09
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
Beecee likes this.
ghorrocks is offline   Reply With Quote

Old   April 28, 2015, 03:39
Default
  #11
Member
 
Chris_321's Avatar
 
Christian
Join Date: Sep 2013
Location: Germany
Posts: 77
Rep Power: 3
Chris_321 is on a distinguished road
You can use the chart function in cfd post for the transient plot of the Expression.
Beecee likes this.
Chris_321 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flow past a cylinder at Re 1e05 using LES, drag force coefficient is to low Scabbard Main CFD Forum 18 October 27, 2014 14:29
Drag force coefficient too low for a flow past cylinder at Re= 1e05 Scabbard STAR-CCM+ 1 October 22, 2014 18:09
Ratio of eddy viscosity to molecular viscosity : Laminar or turbulent flow? RicochetJ CFX 7 September 9, 2013 07:45
Drag Coefficient for flow past a Cylinder o_mars_2010 Main CFD Forum 0 April 18, 2013 06:17
flow over a cylinder urgent! kevin FLUENT 7 June 8, 2006 01:19


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