|
[Sponsors] |
August 31, 2017, 17:43 |
Using a variable to set a plane
|
#1 |
New Member
Wolfgang Black
Join Date: Nov 2015
Posts: 11
Rep Power: 11 |
Hello,
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. |
|
September 1, 2017, 17:51 |
|
#2 |
Member
Marina Galvagni
Join Date: Apr 2014
Location: North Carolina, USA
Posts: 58
Rep Power: 12 |
Hi,
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 |
|
Tags |
analysis, ensight, filter, plane, tools |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] ICEM Scripting Issues | tylerplowright | ANSYS Meshing & Geometry | 33 | September 27, 2021 17:35 |
How to set as input parameter in Fluent a variable existing outside it? | didimad | FLUENT | 1 | March 3, 2015 12:10 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 10:53 |
how to extract a yx plane and set as BC... | sawyer86 | OpenFOAM Running, Solving & CFD | 0 | March 19, 2012 11:43 |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |