Fluent operational processes && udf compiled

Fluent operational processes

1, the read mesh

2, Scale Change Units

3, Check whether the grid check meet the requirements, the minimum volume not appear negative

4, Time transient selection, provided gravity

5, Models-Multiphase-VOF-implicit-body force selected

6, Viscous selected k-epsilon RNG

7, the liquid material is added

8, is provided Phases, with a two-phase

9, phase-Interaction-Surface Tension-wall Adhesion-constant-0.0725

10, Cell zone conditions set operating conditions setting gauge, the position coordinates of air (by default do not change. Qu)

10, the boundary conditions

11, dynamic mesh introduced UDF. define import compiled. Select the dynamic mesh, select Layering

       Divided into two grids you can choose how much time Settings pulled up. To create a moving zone, the size of the unit cell is filled

I am here to set the Height 0.01m

12, after setting display zone motion can preview the effect of moving the grid, Close

13, solving way piso

14,, monitors, edit, residual set, the default

15, surface monitors, checking the plot, to generate the second window, write to save the file can be read later. The following are selected flow time, timestep, report type selection weighted mean area-weighted average, detected pressure, the detected choices

16, adapt a region set range, mark

17, solution initialization, all-zones, initialize, patch, phase is selected from Water, the volume fraction of a selection area, the display

18, calculation activities, solution animations create / edit, time step, a new window 4, set display selection cloud

19, save case

20, calculated

---

Because udf file needs to be compiled, windows using visual studio, when before using vs2013, corresponding to 12.0 below, you will be prompted math.h have a problem when compiling
the Internet, said the math.h paste vs2010 to vs2013 in the family to stay, but in order to prevent cause other trouble, I vs2010 in which they are installed
below the set only vs2010. Corresponding version 10.0

include
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include;
E:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include

lib
E:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64;

Path
E:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64
E:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64

 

udf.bat open modified file folder in the installation fluent
echo trying to find MS C compiler, version 100 ....

set MSVC_DEFAULT=E:\Program Files (x86)\Microsoft Visual Studio 10.0
if exist "%MSVC_DEFAULT%\VC\vcvarsall.bat" set MSVC=%MSVC_DEFAULT%
if not "%MSVC%" == "" goto msvc_env100


 

Guess you like

Origin www.cnblogs.com/dalanjing/p/11095688.html