|
[Sponsors] |
March 14, 2019, 13:25 |
TUI command for Mesh Scale info
|
#1 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Hi! I'm working with the aas toolbox in Matlab and I would like to obtain the minimum and maximum length scales of the mesh in order to automatically set de parameters for my dynamical mesh. I leave a screen caption in order to better showcase what I'm looking for.
|
|
March 14, 2019, 15:35 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,763
Rep Power: 66 |
I don't know the answer but I can tell you how to find out.
Just press enter and all available non-hidden TUI commands will show up. |
|
March 14, 2019, 21:31 |
|
#3 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
mesh check best regards |
|
March 15, 2019, 03:58 |
|
#4 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Thanks for the fast response. Yeah, I have been looking througout all the commands and I don't manage to find it. I don't understand why it is not in /define/dynamic-mesh/controls/remeshing-parameters . I mean you can define the max and min length scale there but I need to know the parameters of the specific mesh in order to properly do that.
|
|
March 15, 2019, 04:00 |
|
#5 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Thanks for your answer. I think it is not the same thing I'm looking for.
|
|
March 15, 2019, 04:58 |
|
#6 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
(rpgetvar 'dynamesh/remesh/max-length-scale) (rpgetvar 'dynamesh/remesh/min-length-scale) Code:
(rpsetvar 'dynamesh/remesh/max-length-scale 777.77) (rpsetvar 'dynamesh/remesh/min-length-scale 1313.13) |
|
March 15, 2019, 05:33 |
|
#7 |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Thank you very much!!!!!! That is what I needed.
|
|
March 15, 2019, 05:44 |
|
#8 | |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Quote:
Thanks again! |
||
March 15, 2019, 13:39 |
|
#9 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,763
Rep Power: 66 |
Quote:
Open it with a text editor. You can inspect line by line all the available variables that rpgetvar can retrieve. Do this on a case with a very small mesh if you don't want to open a huge file. |
||
March 15, 2019, 13:44 |
|
#10 | |
New Member
Mikel
Join Date: Mar 2019
Posts: 12
Rep Power: 7 |
Quote:
Best regards |
||
April 1, 2020, 08:49 |
|
#11 |
New Member
Judith Fonken
Join Date: Jan 2020
Posts: 6
Rep Power: 6 |
Hi Xabierenko,
Do you know if it's possible to set the default options for the remeshing parameters using text command? Or to retrieve the min/max length for the current mesh. I couldn't find the right command in the case file. Thank you in advance! Best, Juud |
|
Tags |
aas, fluent, matlab, tui commands |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] 3D coil mesh: can't create the volume? | RomainBou | OpenFOAM Meshing & Mesh Conversion | 3 | July 18, 2016 06:09 |
[Gmsh] Cgns support for gmsh | robyTKD | OpenFOAM Meshing & Mesh Conversion | 1 | July 13, 2016 12:27 |
TUI command for grid scale in mm | Ralf Schmidt | Fluent UDF and Scheme Programming | 2 | March 16, 2009 07:06 |
mesh scale info | Dave | FLUENT | 1 | July 9, 2007 15:33 |
OpenFOAM with Cygwin | kitchener | OpenFOAM Installation | 6 | April 25, 2006 00:09 |