|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Mario Arias
Join Date: Mar 2015
Posts: 6
Rep Power: 12 ![]() |
Hello,
I would like to create multiple cut planes on a 3D geometry modeling fluid flow through a porous media using CFD-Post. So far all I have been able to do or find in support is how to create one, duplicate it, then change the location. I would like to do hundreds of these, and doing it manually is not really an option. Any ideas or suggestions are greatly appreciated. Thanks, Mario Arias |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Thomas
Join Date: May 2014
Posts: 14
Rep Power: 12 ![]() |
Hello,
I did that by using a cse-file (session-file) and a loop. Just record while insert a plane (e.g xy-plane) and insert a loop in the recorded cse file: ! for ($z=0; $z<=1000; ($z+=50)) !{ record from cse-file, something like insert xy-cut plane = $z !} Hope it helps |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
pkumar
Join Date: Jun 2010
Posts: 7
Rep Power: 16 ![]() |
Hello there,
I am also trying to create multiple planes using for loop. I have this code for it however nothing happens when i use it in the session file. Any suggestions !$nplane = 50; !$zinlet = 3.5; !$zoutlet = -1.5; !$dz = (($zoutlet - $zinlet)/$nplane); !$iplane = 2; !for($iplane=1;$iplane<=nplane; $iplane=$iplane+1) !{ PLANE ![]() Apply Instancing Transform = On Apply Texture = Off Blend Texture = On Bound Radius = 0.5 [m] Colour = 0.75, 0.75, 0.75 Colour Map = Default Colour Map Colour Mode = Constant Colour Scale = Linear Colour Variable = Pressure Colour Variable Boundary Values = Conservative Culling Mode = No Culling Direction 1 Bound = 1.0 [m] Direction 1 Orientation = 0 [degree] Direction 1 Points = 10 Direction 2 Bound = 1.0 [m] Direction 2 Points = 10 Domain List = /DOMAIN GROUP:All Domains Draw Faces = On Draw Lines = Off Instancing Transform = /DEFAULT INSTANCE TRANSFORM ![]() Invert Plane Bound = Off Lighting = On Line Colour = 0, 0, 0 Line Colour Mode = Default Line Width = 1 Max = 0.0 [Pa] Min = 0.0 [Pa] Normal = 1 , 0 , 0 Option = XY Plane Plane Bound = None Plane Type = Slice Point = 0 [m], 0 [m], 0 [m] Point 1 = 0 [m], 0 [m], 0 [m] Point 2 = 1 [m], 0 [m], 0 [m] Point 3 = 0 [m], 1 [m], 0 [m] Range = Global Render Edge Angle = 0 [degree] Specular Lighting = On Surface Drawing = Smooth Shading Texture Angle = 0 Texture Direction = 0 , 1 , 0 Texture File = Texture Material = Metal Texture Position = 0 , 0 Texture Scale = 1 Texture Type = Predefined Tile Texture = Off Transform Texture = Off Transparency = 0.0 X = 0.0 [m] Y = 0.0 [m] Z = ($zinlet + ($iplane - 1)*($dz)) [m] OBJECT VIEW TRANSFORM: Apply Reflection = Off Apply Rotation = Off Apply Scale = Off Apply Translation = Off Principal Axis = Z Reflection Plane Option = XY Plane Rotation Angle = 0.0 [degree] Rotation Axis From = 0 [m], 0 [m], 0 [m] Rotation Axis To = 0 [m], 0 [m], 0 [m] Rotation Axis Type = Principal Axis Scale Vector = 1 , 1 , 1 Translation Vector = 0 [m], 0 [m], 0 [m] X = 0.0 [m] Y = 0.0 [m] Z = 0.0 [m] END END !} Your help is much appreciated. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Jiawei
Join Date: Mar 2015
Posts: 1
Rep Power: 0 ![]() |
I am also new to this software, I spent 1 hour and just found your mistake!!!!!!!!!!!!!!!
Ahahaha!!! So excited! In line 6, a '$' is missing in front of 'nplane'!!!!!!!! |
|
![]() |
![]() |
![]() |
Tags |
3-d simulation, 3-dimensional, cfd-post, post processing |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Post processing of rotational moving reference frame | Brathmann | FLUENT | 1 | March 22, 2013 11:39 |
Automated post processing using CFD Post | shreyasr | ANSYS | 0 | January 28, 2013 07:21 |
[OpenFOAM] is parallel processing available in parafoam for post processing? | sachinlb | ParaView | 1 | August 14, 2012 10:52 |
post processing in CFX11.0 | u k jha | CFX | 1 | September 17, 2010 06:53 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 21:51 |