CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Updating Fluent after meshing from Worbench Scripting, asks to update mesh again. (https://www.cfd-online.com/Forums/fluent/197531-updating-fluent-after-meshing-worbench-scripting-asks-update-mesh-again.html)

UchihaMadara January 8, 2018 14:18

Updating Fluent after meshing from Worbench Scripting, asks to update mesh again.
 
I am trying to run an automated process where I import a cad to Geometry template, mesh it with mesh template and then attach this to fluent to direcly obtain the graphs and monitors section of fluent. i.e see it run.
So far I've written a JS script for meshing which is called from WB and it works fine uptill here. i.e import cad and mesh it. (green ticks for both)

But when I attach a 3rd template of fluent to the same script, mesh is asked to be updated again and fluent doesn't proceed to TUI commands built for it.

I assume if meshing is already done, then attaching fluent to this mesh must not require another mesh update. But it is asked and would like to know a work around or if there are none, how could I update the mesh again with script?

Do I use a Project.Update() after fluent is added or something else?

Could someone guide me if they know anything?


All times are GMT -4. The time now is 02:00.