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

CFD-Post Define volume in CEL/CCL or external surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2017, 10:52
Default CFD-Post Define volume in CEL/CCL or external surface
  #1
New Member
 
Join Date: Oct 2016
Posts: 8
Rep Power: 10
kiodos is on a distinguished road
Hello,

I would like to calculate the average of a fluid velocity on a custom-defined volume.

I have hard time to define such volume since it is an inclined cylinder (let's imagine a 45° circular pipe crossing another one that is horizontal in which the inlet and the outlet have been defined).

I successfully imported an external .stl surface geometry (a cylindrical shell) but I cannot create a volume from it.

I also successfully created a "surface of revolution" with cylindrical shape but as before I cannot use it for having a volume.

I am trying usuccessfully to coding in CEL Inside CFD-Post but for example the function Inside() is not active in post-CFD but only in pre-CFD.

I though to coding it in CCL in a session file, but I lack in syntax and a decent coding guide/reference/tutorial.


How do you handle the custom-volume definition on CFD-post, how could I bypass the limitation of the GUI, partially with CEL or totally with CCL ?

Thank you in advance !
kiodos is offline   Reply With Quote

Old   November 6, 2017, 18:12
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In the meshing software if you define the cylindrical region as a named region it should then flow through to the solver and post processor from there. You can then easily do mathematical functions on it.

This functionality has only been available since V17 I think. So if you are on a older version there is a reason to upgrade to the current version.
ghorrocks is offline   Reply With Quote

Old   November 7, 2017, 06:01
Default
  #3
New Member
 
Join Date: Oct 2016
Posts: 8
Rep Power: 10
kiodos is on a distinguished road
Thank you for your answer,

the definition of the geometry has to be done in the CAD step or is simple to do it in the meshing tool (any shape as cylinder, cube, user-defined) ?
kiodos is offline   Reply With Quote

Old   November 7, 2017, 06:41
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can do it in either CAD or mesher.
ghorrocks is offline   Reply With Quote

Old   December 18, 2017, 05:19
Default
  #5
New Member
 
Join Date: Oct 2016
Posts: 8
Rep Power: 10
kiodos is on a distinguished road
I kinda succeed to do what I wanted by using named region, thank you all!
kiodos is offline   Reply With Quote

Reply

Tags
ccl, cel, cfd-post, geometry ansys, volume definition


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
[Gmsh] "Perhaps you have not exported the 3D elements?" j_moulton OpenFOAM Meshing & Mesh Conversion 14 October 6, 2022 22:58
CFD Post - Surface and 3D streamlines difference saisanthoshm88 CFX 16 April 11, 2016 19:57
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 12:05
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48


All times are GMT -4. The time now is 14:56.