Ansys-Fluent Solutions

Exporting Particle History

/file/export/p-h-d/cfdpost testingP (left-nostril-10mic) particle-diameter particle-velocity-mag () 5

When restarting a transient simulation, the error “Update_Time_Level: invalid data” occurs.
In the journal file use:

/solve/iterate 1 /solve/dual-time-iterate 100 20

They say this is some kind of strange error that comes when you use it in command line mode (with -g option)

Change R-R model for size distib –> (rpsetvar ‘dpm/atomizer-spread-param 2.2)

Preventing Backflows (ppt) -extending outlets

  • In Fluent meshing, use Boundary -> Create -> Swept Surface.
  • Select the edges 
  • Extrude away!

Compiling UDFs

  • Install the “Microsoft Visual C++ Build Tools” which contains just the basic compilation tools with no integrated development environment (IDE) and these are sufficient to compile UDFs. Build Tools can be downloaded from
  • Once installed, update the udf.bat file in the C:\Program Files\ANSYS Inc\v19.x\fluent\ntbin\win64 directory (rename the existing udf.bat first) and add the following line.
    “if exist “%MSVC_DEFAULT%\BuildTools\VC\Auxiliary\Build\vcvarsall.bat” set MSVC=%MSVC_DEFAULT%\BuildTools”
  • If the ‘nmake’ error still occurs after a compiler has been installed then this is normally due to Microsoft Visual Studio not being installed with sufficient permissions on Windows. The compiler needs to be installed with sufficient administrative rights that allow the registry to be edited. For example, it is possible for a user to have admin rights but not have rights to edit the registry. If this is the case then you will need to have IT install the compiler with full IT admin rights.

Leave a Comment