-
-
November 27, 2020 at 12:41 pmpaola_1Subscriber
Hi, there's a way to write a journal file for compiling a UDF (without hooking the function), run calculate for one time step, hooking the function and run calculate for other time steps?
November 27, 2020 at 1:14 pmDrAmineAnsys EmployeeYes for sure. You need to just record the journal and navigate in TUI to execute the commands. The finalized journal can be then used to automate it.
November 27, 2020 at 7:46 pmpaola_1SubscriberCan you help me? I can't find the command to hook the functions.
November 28, 2020 at 12:01 pmpaola_1SubscriberI did it. Thank you.
November 30, 2020 at 1:46 pmRobForum Moderatorplease post the answer here so the next time someone's looking for it they can thank you for sharing.
November 30, 2020 at 7:58 pmpaola_1SubscriberOf course.
File example is a file with the UDF but not with the hooked functions.
/file/read-case /example.cas
/file/read-data /example.dat
/solve/set/time-step 0.002
/solve/dual-time-iterate 1 50
/define/user-defined/function-hooks
adjust
n1::libudf
n2::libudf
n3::libudf
""
q
/solve/dual-time-iterate 18 50
/file/write-case /ex1.cas
/file/write-data /ex1.dat
exit
OK
December 1, 2020 at 8:02 amDrAmineAnsys EmployeeYes for sure. You need to just record the journal and navigate in TUI to execute the commands. The finalized journal can be then used to automate it.
Viewing 6 reply threads- The topic ‘Journal file UDF’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Non-Intersected faces found for matching interface periodic-walls
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- error udf
- Cyclone (Stairmand) simulation using RSM
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Fluent fails with Intel MPI protocol on 2 nodes
- Encountering Error in Heterogeneous Surface Reaction
- Script Error
Top Contributors-
1181
-
488
-
487
-
225
-
201
Top Rated Tags© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-