|
[Sponsors] |
May 7, 2020, 20:59 |
Mesh Adapt Expression
|
#1 |
Member
j
Join Date: Apr 2020
Posts: 34
Rep Power: 0 |
This might not be the right place to post this, but alas...I need to create an expression that allows me to refine the surface mesh on a specific wall boundary (titled "hole" in the image attached). I can do this by creating a boundary adapt marker. However, I also need an if statement to only flag cells on that boundary that are within a certain scalar range. You can make a field variable to do this, but it applies it to the entire mesh, and has no options to enforce it only on the boundary of interest. I think the only way to do this is to write an expression that basically says if both registers are satisfied. I have no idea how to write a statement to do this if it's possible. If I type in the name of my boundary expression (boundary_0), that works. But if I type boundary_) AND "field variable register name", that doesn't work. Any help as to how to accomplish this would be greatly appreciated.
|
|
May 8, 2020, 05:10 |
And
|
#2 |
Senior Member
|
In expressions, AND has to come before the operands. It is AND expr1 expr2 and not expr1 AND expr2. You cannot refine surface mesh because there is no surface mesh. Or may be you just stated it that way.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Snappyhex mesh: poor inlet mesh | Swagga5aur | OpenFOAM Meshing & Mesh Conversion | 1 | December 3, 2016 16:59 |
Star CCM Overset Mesh Error (Rotating Turbine) | thezack | Siemens | 7 | October 12, 2016 11:14 |
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry | pizzaspinate | OpenFOAM Meshing & Mesh Conversion | 1 | February 25, 2015 07:05 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |