-
-
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 pmAmine Ben Hadj AliAnsys 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 amAmine Ben Hadj AliAnsys 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- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script Error
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
Top Contributors-
1882
-
802
-
599
-
591
-
366
Top Rated Tags© 2025 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.
-