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

Line probe perendicular to a surface

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 19, 2013, 08:59
Default Line probe perendicular to a surface
  #1
Member
 
anonymous
Join Date: Dec 2012
Posts: 33
Rep Power: 4
badger1 is on a distinguished road
Hi,

I am trying to place line probes so that they are purpendicular to a surface (see image). I would like them to be placed so that they are in line with the mesh.

Does anyone know a way of doing this please?

Thanks
Attached Images
File Type: png Long_Outlet_2D_Mesh_refined_Mesh Scene 1.png (17.3 KB, 14 views)
badger1 is offline   Reply With Quote

Old   January 21, 2013, 19:02
Default
  #2
Member
 
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 7
ryancoe is on a distinguished road
To figure out the details might take a bit of work, but something along these lines should work (I think):
  1. Use a field function to get the surface normal direction (see help manual).
  2. Write a macro to create the probes based on that field function.
Hope this helps.
__________________
Ryan
ryancoe is offline   Reply With Quote

Old   January 22, 2013, 05:55
Default
  #3
Member
 
anonymous
Join Date: Dec 2012
Posts: 33
Rep Power: 4
badger1 is on a distinguished road
Thanks for your reply.

I have been searching in the help files for how to obtain the surface normal direction using a field function but I cant seem to find it anywhere. Do you have any idea how to do this?

Thanks
badger1 is offline   Reply With Quote

Old   January 22, 2013, 10:49
Default
  #4
Member
 
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 7
ryancoe is on a distinguished road
search "Calculating and Visualizing Face Normals" in the help manual.
__________________
Ryan
ryancoe is offline   Reply With Quote

Old   January 22, 2013, 11:10
Default
  #5
Member
 
anonymous
Join Date: Dec 2012
Posts: 33
Rep Power: 4
badger1 is on a distinguished road
Does it matter that my simulation is 2D as this doesnt seem to be working for me. I used the example that was given in the help file.

Thanks
badger1 is offline   Reply With Quote

Reply

Tags
line probe, normal, perpendicular, surface

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
Hex with transfinite Volume Mjoelnir Open Source Meshers: Gmsh, Netgen, CGNS, ... 7 May 12, 2014 18:00
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
errors Fahad Main CFD Forum 0 March 23, 2004 14:20
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19


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