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

Line probe perendicular to a surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 14
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, 19 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: 16
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: 14
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: 16
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: 14
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


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[Gmsh] Hex with transfinite Volume Mjoelnir OpenFOAM Meshing & Mesh Conversion 8 March 30, 2017 09:52
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
errors Fahad Main CFD Forum 0 March 23, 2004 14:20
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00:19


All times are GMT -4. The time now is 17:54.