CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

how to extract x,y and z direction components of force

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2012, 07:45
Default how to extract x,y and z direction components of force
  #1
dke
New Member
 
Join Date: Nov 2012
Location: Germany
Posts: 7
Rep Power: 13
dke is on a distinguished road
Hi all,

Im currently working on a student research project and i'm computing wave loads on an offshore structure.
The simulation is working fine, but i'm stuck at extracting force components.

My intention is to extract the force components. Force in X, Y, and Z direction at specific coordinates.
For example at the point [1,2,3] i want to extract a force in form of [200N,300N,500N].

I already tried Force report, but this gives me only the accumulated force for the whole structure.

My second try was to use a XYZInternalTable, but i only receive the pressure at specific coordinates given by star ccm+ without knowing the reference surface to calculate the force from pressure.

Currently i'm stuck at trying user defined field functions.

Maybe any suggestions?
dke is offline   Reply With Quote

Old   December 19, 2012, 11:02
Default update
  #2
dke
New Member
 
Join Date: Nov 2012
Location: Germany
Posts: 7
Rep Power: 13
dke is on a distinguished road
Well, i found a part solution:

Now i'm able to extract components for Forces caused by wall shear stress.

For example:
Force components [i j k]: [0.0 0.0 0.025]
corresponding Position: [x y z] [-29.73 -18.75 -64.5]


Im using a XYZInternalTable with the following user defined function as scalar field function:

Code:
$$Area * $$WallShearStress.mag()
Now the next problem occured. I cant use the same code syntax for pressure related forces, because pressure function is of scalar type.
My first idea was that i could use the scalar pressure value just as the magnitude of a potential pressure vector. Star reacts with an an error : "Pressure is not a type of array".
Now i'm confused how to continue to get the values i'm looking for

Last edited by dke; December 19, 2012 at 12:35. Reason: Code corrected
dke is offline   Reply With Quote

Old   December 19, 2012, 11:43
Default
  #3
dke
New Member
 
Join Date: Nov 2012
Location: Germany
Posts: 7
Rep Power: 13
dke is on a distinguished road
Yay simple syntax mistake.

$Pressure instead of $$Pressure works

So field function for Pressure induced Force:

Code:
$$Area * $Pressure

Last edited by dke; December 19, 2012 at 12:35. Reason: Code corrected
dke is offline   Reply With Quote

Old   December 19, 2012, 14:30
Default
  #4
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18
rwryne is on a distinguished road
Don't bother making field functions, a force report is the right way to do this.

In the force report, there is a "direction" component. You can set up 3 reports, one for X, one for Y, one for Z.


edit: I misunderstood your problem, my apologies! Ignore the above

Last edited by rwryne; December 19, 2012 at 15:02.
rwryne is offline   Reply With Quote

Old   December 19, 2012, 14:51
Default
  #5
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 498
Rep Power: 20
JBeilke is on a distinguished road
The report doesn't help you for displaying the distribution of the force on a surface within a scalar plot. It just gives you a final number.

For a scalar plot of the y-component you have to create a scalar field function like this:

Code:
$Pressure * $$Area_Normal[1]
where $Area_Normal is a vector FV:

Code:
$$Area/$$Area.mag()
JBeilke is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to extract the components of radial and tangential velocities from pump impeller renyun0511 OpenFOAM Running, Solving & CFD 3 October 31, 2022 09:31
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 10 September 14, 2018 11:12
Force can not converge colopolo CFX 13 October 4, 2011 22:03
how to extract the components of radial and tangential velocities renyun0511 OpenFOAM Running, Solving & CFD 0 April 8, 2011 07:15
Do Pressure Inlet Flow Direction Components Need to Be Normalized? ScottN FLUENT 0 September 21, 2010 09:18


All times are GMT -4. The time now is 00:55.