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

CFD-Post: How to query wall forces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2017, 09:24
Default CFD-Post: How to query wall forces
  #1
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
Pauli is on a distinguished road
I am processing CFX results using CFD-Post. I want to query the forces acting at the nodes on a wall boundary. (Actually it is the torque about an axis I ultimately desire.)

I tried using the probe (Tools->Probe) with variable Force X. I displayed the desired surface patch with mesh lines and zoomed in tight to the desired vertex. When I click on the vertex I get a dialog box reporting "ERROR Force can only be calculated on vertices of a surface".

Next I tried creating a Point then changing the point from coordinates to the reported nearest node. I then created an expression "probe(Force X)@Point 1". This produces the same dialog box "ERROR Force can only be calculated on vertices of a surface".


Any ideas?

Thanks,
Pauli
Pauli is offline   Reply With Quote

Old   January 16, 2017, 12:53
Default
  #2
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by Pauli View Post
I am processing CFX results using CFD-Post. I want to query the forces acting at the nodes on a wall boundary. (Actually it is the torque about an axis I ultimately desire.)

I tried using the probe (Tools->Probe) with variable Force X. I displayed the desired surface patch with mesh lines and zoomed in tight to the desired vertex. When I click on the vertex I get a dialog box reporting "ERROR Force can only be calculated on vertices of a surface".

Next I tried creating a Point then changing the point from coordinates to the reported nearest node. I then created an expression "probe(Force X)@Point 1". This produces the same dialog box "ERROR Force can only be calculated on vertices of a surface".


Any ideas?

Thanks,
Pauli
force_x()@your_surface
Antanas is offline   Reply With Quote

Old   January 16, 2017, 12:55
Default
  #3
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
Pauli is on a distinguished road
Antanas,

Thanks but that command is for a surface. I want to query at a node.

Regards,
Pauli
Pauli is offline   Reply With Quote

Old   January 16, 2017, 21:05
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Force does not exist at a point, so you cannot get the force at a point. Use the integration functions (eg areaInt()) to generate the function you are looking for.

You say you are going to eventually calculate the torque about an axis - so why not just use the torque() function and calculate it directly?
ghorrocks is offline   Reply With Quote

Old   January 17, 2017, 06:53
Default
  #5
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
Pauli is on a distinguished road
Hello Glenn,

A couple years ago I created a process where I export the wall force data to a .csv file then inside Excel I compute the desired moment. This was part of a larger analysis system performing multiple data reduction strategies.

I am currently working on streamlining this analysis system. One aspect is to perform the moment calculations inside CFD-Post using torque_z()@my_surface.

When I compare the torque computed by the two methods I get similar trends and small magnitude differences. I am working to understand the source of the discrepencies.

I realize that CFD-Post has to be performing some sort of area based calculation. The forces at nodes are computed for export. I was attempting to access the same information directly inside the GUI. But I keep getting constrained by the requirement to operate on an entire surface. That makes for too many nodes to keep track of the details. And I suspect my discrepancy is buried in the details.

Regards,
Pauli
Pauli is offline   Reply With Quote

Old   January 18, 2017, 03:22
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There will be discrepencies between calculating torques by summing the nodal forces (from face area and pressure and/or wall shear), the torque() function in CFD-Post and the torque() function in the CFX solver.

The CFX solver will calculate the torques from torque() using the integration points in the finite volumes. These integration points are a higher resolution than the finite volumes so this approach will resolve the torque at full simulated accuracy.

The CFD-Post approach does not have the integration point data (from my understanding) but will use an integration scheme which I think allows linear variations between finite volume. This will not be as accurate as the solver using the integration points, but should be very close for most applications.

The approach of exporting "nodal forces" (which I assume is the nodal pressure and/or wall shear times the face area) does not account for linear variations. This approach should not be as accurate as the previous approaches.
ghorrocks is offline   Reply With Quote

Old   January 18, 2017, 14:53
Default
  #7
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
Pauli is on a distinguished road
I finally found the source of my error. As is usually the case, it was the user.

The local CSYS I use for torque evaluation inside CFD-Post were slightly misaligned. Now the torque I compute with CFD-Post & Excel match.
Pauli is offline   Reply With Quote

Old   January 19, 2017, 00:22
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Did you get your calculated value in excel to exactly match the CFD-Post value? I did not expect that (ref: my previous post).
ghorrocks is offline   Reply With Quote

Old   January 19, 2017, 06:36
Default
  #9
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
Pauli is on a distinguished road
The Excel spreadsheet was formatted to present results to two decimal places (4 significant digits). At that level of precision, the numbers were exactly the same.

The CFD model has a resolved boundary layer mesh - 1st layer Y+=1. I expect that helps limit the dicritization and extrapolation to the wall errors you outlined.

For now I am off to a new project. When I get back to this work I will try to remember to monitor solver computed torque in a future CFD run.
Pauli is offline   Reply With Quote

Old   January 19, 2017, 17:48
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
OK, thanks. And yes, in future you should look at the torque calculated by the solver (and probably output as a monitor point) as that should be the most accurate way to calculate forces and torques.
ghorrocks 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
Divergence in AMG solver! marina FLUENT 20 August 1, 2020 11:30
Post processing in CFD Post or Fluent. Blobs OpenFOAM Post-Processing 2 June 26, 2016 07:23
Problem regarding producing streamlines from surfaces in Ansys CFD post gauthamnarayan Visualization & Post-Processing 0 April 23, 2015 16:07
Parallel process & CFD POST jypark FLUENT 2 August 14, 2013 23:49
CEL mathematical functions in CFD Post Jonathan CFX 9 November 5, 2012 08:37


All times are GMT -4. The time now is 10:58.