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

Integrating torque/force on boundary surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2016, 11:29
Default Integrating torque/force on boundary surface
  #1
New Member
 
Rob Knop
Join Date: Mar 2016
Location: Western PA
Posts: 5
Rep Power: 10
rknop is on a distinguished road
I'm new to SU2, so apologies if there's a quick and easy way to do this. I haven't been able to figure it out from the documentation.

I have a flow on an object. I've got an outer boundary (which is the steady-state flow), and an inner boundary (which is the one set with MARKER_MONITORING) in the config file.

The output files include surface_flow.csv, which gives me pressure, pressure coefficient, and skin friction coefficient for various x, y, z.

What I want to do is integrate these up to get the net force and net torque on the inner surface. However, surface_flow.csv doesn't include the effective areas that go with each x, y, z. As best I can determine, I will need to parse the mesh file to figure out both what area and what normal vector goes with each point given in the surface_flow.csv file if I want to get net torque and force on the inner boundary.

Does one of the other SU2 executables do this sort of thing for me? If so, which one, and where is it documented?
rknop is offline   Reply With Quote

Old   March 15, 2016, 20:33
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by rknop View Post
I'm new to SU2, so apologies if there's a quick and easy way to do this. I haven't been able to figure it out from the documentation.

I have a flow on an object. I've got an outer boundary (which is the steady-state flow), and an inner boundary (which is the one set with MARKER_MONITORING) in the config file.

The output files include surface_flow.csv, which gives me pressure, pressure coefficient, and skin friction coefficient for various x, y, z.

What I want to do is integrate these up to get the net force and net torque on the inner surface. However, surface_flow.csv doesn't include the effective areas that go with each x, y, z. As best I can determine, I will need to parse the mesh file to figure out both what area and what normal vector goes with each point given in the surface_flow.csv file if I want to get net torque and force on the inner boundary.

Does one of the other SU2 executables do this sort of thing for me? If so, which one, and where is it documented?
Thanks for the question
The values you are asking about are output to the history file, you don't need to compute these yourself.
hlk is offline   Reply With Quote

Old   March 16, 2016, 13:14
Default
  #3
New Member
 
Rob Knop
Join Date: Mar 2016
Location: Western PA
Posts: 5
Rep Power: 10
rknop is on a distinguished road
Oh! Heh. Duh. I feel kind of stupid now; I didn't think to look at the history file.

I also discovered that putting in the right few filters into paraview can accomplish this integral.
rknop is offline   Reply With Quote

Old   March 16, 2016, 14:39
Default
  #4
New Member
 
Rob Knop
Join Date: Mar 2016
Location: Western PA
Posts: 5
Rep Power: 10
rknop is on a distinguished road
Are the definitions of these values documented anywhere? I see variables called "CFx", "CMx", and so forth. I'm *guessing* that these are the net forces, i.e. the surface integral of the pressure times the normal unit vector. Is that in fact what they are? Or are they scaled to something else somewhere in the problem?

The number also doesn't match what I'm getting doing the integral in Paraview, which means I'm almost certainly doing something wrong.
rknop 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
[snappyHexMesh] snappyHexMesh Boundary Layer at Corner panpanzhong OpenFOAM Meshing & Mesh Conversion 5 July 3, 2018 06:53
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 05:59
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 07:18
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


All times are GMT -4. The time now is 01:23.