Parallel UDF on Windows OS

** Parallel UDF on Windows OS
For the source code for =2nd stoke wave=,
=DEFINE_PROFILE= Macos is used, and desn’t need to be modified.

Software requirements:
- Microsoft Visual Studio, preferably on the C: drive.
- Microsoft Visual Studio 2017 will work
if you launch Fluent from the Command Line
using the Visual Studio 2017 x86 x64 Cross Tools Command Prompt

1. Launch Fluent from command line
  + ensuring that your “Working Directory” is set to the location(folder)
where your case, data and UDF is located in.

2. Read in your model
3. Select the Console tab (at the bottom of the Fluent window)
4. Select the User Defined tab
5. Choose Functions > Compiled
6. Select the Add button to add your source file (.c)
7. Select Build
8. Select Load
 


*** References

7.3. Parallelizing Your Serial UDF, udf manual

5.6.1. Windows Parallel, UDF_Manual_Fluent_v17.1
 

posted @ 2020-09-15 21:58  kaiming_ai  阅读(150)  评论(0编辑  收藏  举报