CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > EnSight

Using a variable to set a plane

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2017, 16:43
Question Using a variable to set a plane
New Member
Wolfgang Black
Join Date: Nov 2015
Posts: 11
Rep Power: 10
wjbvg5 is on a distinguished road

I've been trying to mess around with my domain for analysis purposes. Currently, I am taking integrals and sums across my entire domain, but really need to be able to isolate the region down to some box around say a fluid interface.

I've been trying to do something like:
1. Create an iso-surface based on a 5% contour
2. Use the calculated to turn the coordinates of said iso-surface into a variable
3. Find the max and min x,y coordinates of the iso-surface
4a. Using filter, I want to remove any region on the master part greater than the max's and less than the minimums.

- or -
4b. I select the master part, then using calculator create some variables which are slaved to the master part and are equal to my iso-surface max and min values.
5. I try 4a. as listed above, to remove any region greater than the max's and less than the mins.

However, following either procedure, ensight crashes without any warning or reasoning. I am unsure of why - any advice on how to do this would be useful.

In fact, trying to filter using any variable as opposed to a number crashes ensight regardless.

As mentioned before, I'd rather use a plane tool, since I'm not even sure if filter will actually allow me calculate the regions only within the box. But- as far as I can see, plane tool does not allow one to use variables and instead needs direct input from the user. Since my fluid interface moves through time, it would be nice to have something do this automatically so I can take the integral/sum using a constant area around the interface.
wjbvg5 is offline   Reply With Quote

Old   September 1, 2017, 16:51
Marina G's Avatar
Marina Galvagni
Join Date: Apr 2014
Location: North Carolina, USA
Posts: 58
Rep Power: 12
Marina G is on a distinguished road

I was able to verify the crash and I've reported to our devs. team. Thank you for pointing it out.

What I would do is the following:

1. Create the isosurface
2. Calculate MinZ, MaxZ on this part (and of the other coordinates as well, if you need them)
3. On the original fluid part, calculate a new variable:

range_z = (Coordinates[Z] - MinZ)/(MaxZ - MinZ)

4. On the original fluid part, create an isovolume for range_z between 0 and 1.

This should give you what you're looking for.

Please let me know if I misunderstood your request, or if this isn't what you're looking for.

Thank you.
Best Regards,

Marina Galvagni
CEI Software Support Engineer
Marina G is offline   Reply With Quote


analysis, ensight, filter, plane, tools

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
[ICEM] ICEM Scripting Issues tylerplowright ANSYS Meshing & Geometry 33 September 27, 2021 16:35
How to set as input parameter in Fluent a variable existing outside it? didimad FLUENT 1 March 3, 2015 11:10
[snappyHexMesh] determining displacement for added points CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 1 October 22, 2013 09:53
how to extract a yx plane and set as BC... sawyer86 OpenFOAM Running, Solving & CFD 0 March 19, 2012 10:43
emag beta feature: charge density charlotte CFX 4 March 22, 2011 09:14

All times are GMT -4. The time now is 16:19.