|
[Sponsors] |
Fluent 2023 TUI Adaptive Mesh Refinement Commands |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: May 2023
Posts: 1
Rep Power: 0 ![]() |
Hi,
I am trying to use adaptive mesh refinement for a supersonic wedge arrangement in ANSYS Fluent. I have been using a HPC cluster with a journal for a few years, but since switching over to ANSYS Fluent 2023 the adaptive mesh refinement commands that I used to use no longer work. I keep getting the error '> invalid command [adapt]' from my job output file when it runs. The previous adaptive mesh commands I used are as follows (these worked on older Fluent versions): adapt set refine-mesh yes adapt set coarsen-mesh yes solve execute-commands add-edit densityadapt 500 "iteration" "adapt mark-with-gradients density space-gradient 2 no 0.00075 0.1 no 0 0 0" solve execute-commands add-edit pressureadapt 500 "iteration" "adapt mark-with-gradients pressure space-gradient 2 no 0.00075 0.1 no 0 0 0" solve execute-commands add-edit machadapt 500 "iteration" "adapt mark-with-gradients rel-velocity-magnitude space-gradient 2 no 0.00075 0.1 no 0 0 0" solve execute-commands add-edit temperatureadapt 500 "iteration" "adapt mark-with-gradients temperature space-gradient 2 no 0.00075 0.1 no 0 0 0" solve execute-commands add-edit combinereg 500 "iteration" "adapt combine-registers 0 1 2 3 ()" solve execute-commands add-edit adaptreg 500 "iteration" "adapt adapt-to-register 4 0 0 yes" The job then outputs the following in response to these commands, whereby the refinement doesn't take place at all with 2023: invalid command [adapt] > Adding densityadapt > Adding pressureadapt > Adding machadapt > Adding temperatureadapt > Adding combinereg > Adding adaptreg > Invalid real. > iter continuity x-velocity y-velocity z-velocity energy k omega intermit retheta time/iter adapt invalid command [adapt] mark-with-gradients density space-gradient 2 no 0.00075 0.1 no 0 0 0 > adapt invalid command [adapt] mark-with-gradients pressure space-gradient 2 no 0.00075 0.1 no 0 0 0 > adapt invalid command [adapt] mark-with-gradients rel-velocity-magnitude space-gradient 2 no 0.00075 0.1 no 0 0 0 > adapt invalid command [adapt] mark-with-gradients temperature space-gradient 2 no 0.00075 0.1 no 0 0 0 > adapt invalid command [adapt] combine-registers 0 1 2 3 () > adapt invalid command [adapt] adapt-to-register 4 0 0 yes And then it continues to run. I have now altered my commands to the 2023 guidelines, but these also don't work, where I used: adapt set refine-mesh yes adapt set coarsen-mesh yes mesh adapt cell-registers add density type field-value field density derivative gradient scaling scale-by-global-maximum option more-than 0.7 q q q q q mesh adapt cell-registers refine density mesh adapt cell-registers delete density mesh adapt cell-registers add pressure type field-value field pressure derivative gradient scaling scale-by-global-maximum option more-than 0.7 mesh adapt cell-registers refine pressure mesh adapt cell-registers delete pressure mesh adapt cell-registers add temperature type field-value field temperature derivative gradient scaling scale-by-global-maximum option more-than 0.7 mesh adapt cell-registers refine temperature mesh adapt cell-registers delete temperature mesh adapt cell-registers add velocity type field-value field velocity-magnitude derivative gradient scaling scale-by-global-maximum option more-than 0.7 mesh adapt cell-registers refine velocity mesh adapt cell-registers delete velocity But this also gives the invalid command [adapt] error. I need to use adaptive mesh refinement on the shockwaves in the system every 6000 iterations in. Does anyone know how to do this using TUI in Fluent 2023? Your help is much appreciated. Thank and kind regards SGM |
|
![]() |
![]() |
![]() |
Tags |
adaptivemeshrefinement, fluent, supersonic, tui |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with parallel calculations OF8 mpirun | otaolafr | OpenFOAM Programming & Development | 0 | January 5, 2021 08:33 |
SimpleFoam & Theater | jipai | OpenFOAM Running, Solving & CFD | 3 | June 18, 2019 11:11 |
[snappyHexMesh] Edge Refinement | fracasce | OpenFOAM Meshing & Mesh Conversion | 3 | December 2, 2017 14:30 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 23:56 |
Mesh gets out of sync during parallel 2D adaptive mesh refinement | pjohannes183 | OpenFOAM Programming & Development | 0 | November 14, 2013 05:31 |