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

Integrating torque/force on boundary surface

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

Reply
 
LinkBack Thread Tools 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: 3
rknop is on a distinguished road
Sponsored Links
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
Sponsored Links

Old   March 15, 2016, 20:33
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 267
Rep Power: 7
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: 3
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: 3
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

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
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 05:59
snappyHexMesh Boundary Layer at Corner panpanzhong OpenFOAM Native Meshers: snappyHexMesh and Others 4 October 27, 2014 05:31
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 06:18
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19

Sponsored Links


All times are GMT -4. The time now is 22:47.