UDF has to be compiled, can’t be interpolated
Steps
For ansys 16.x, launch Fluent from the Command Line using the VS2015 x86 x64 Cross Tools Command Prompt (not x64 x86 cross tools)
1)
Open the Start screen (press Windows button on your
keyboard, Type 'VS2013 x86 x64 Cross Tools Command Prompt'
2)
Navigate to your working folder, i.e. the folder
where your case and data files are (.cas & .dat).
3)
Type “fluent” in the command window to launch Fluent or “C:\Program Files\ANSYS
Inc\v161\fluent\ntbin\win64\fluent.exe” (quotation
signs included, in case of standard installation; fluent version: 16.1).
4)
Make sure that on the Environment tab 'Setup Compilation Environment for UDF'
is ticked. The default address is fine.
1. Read mesh/cas file
2. Setup turbulence model/boundary conditions, etc.
3. Compilation
a. Define/user-defined/functions/compiled, load
4. Hook UDF file to velocity component at inlet
a. Boundary condition/inlet/x or y component velocity/udf
5. Setup point monitors at inlet
Create a point at inlet and monitor the velocity at the
defined point
a)
Define a point at inlet:
Create a point at inlet BC
Surface/point
b)
Solution--monitors--surface--fill
your information to dialog table
Report type: vertex average
Field variable: velocity,
velocity magnitude/component;
Surface: a point at inlet BC
6. Setup time step size, 0.002s, save cas file
a. Time step, 1/100 period of wave
b. 1 degree per time step, 0.001s, 360 time step per circle of
turbine rotation
If ω=14.34, TSR=5.5, T=0.44,
U(m/s)
|
TSR
|
r(m)
|
Angular velocity
|
T(s)
|
time step size
|
0.6
|
5.5
|
0.23
|
14.34782609
|
0.437919
|
0.001216
|
7. Initialisation, compute from inlet
Calculation, 200 time steps
Comments
Post a Comment