|
[Sponsors] |
January 16, 2017, 09:24 |
CFD-Post: How to query wall forces
|
#1 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
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 |
|
January 16, 2017, 12:53 |
|
#2 | |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Quote:
|
||
January 16, 2017, 12:55 |
|
#3 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
Antanas,
Thanks but that command is for a surface. I want to query at a node. Regards, Pauli |
|
January 16, 2017, 21:05 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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? |
|
January 17, 2017, 06:53 |
|
#5 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
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 |
|
January 18, 2017, 03:22 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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. |
|
January 18, 2017, 14:53 |
|
#7 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
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. |
|
January 19, 2017, 00:22 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Did you get your calculated value in excel to exactly match the CFD-Post value? I did not expect that (ref: my previous post).
|
|
January 19, 2017, 06:36 |
|
#9 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
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. |
|
January 19, 2017, 17:48 |
|
#10 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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.
|
|
|
|
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 |