CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Setting a user-defined wall function in the TUI

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2025, 06:23
Default Setting a user-defined wall function in the TUI
  #1
New Member
 
Join Date: Feb 2025
Posts: 1
Rep Power: 0
priczmarton is on a distinguished road
Hi everyone!
I would like to ask for your help with setting a user-defined wall function through TUI commands in FLUENT (version 2023 R1).
I have a UDF that compiles without errors and contains a custom wall function using the DEFINE_WALL_FUNCTIONS macro. While I can set this to be used with the k-epsilon models from the GUI manually (Models>Viscous>Near-Wall Treatment>User-Defined Wall Functions), I cannot seem to do it in the TUI. If I try the command "define/models/viscous/near-wall-treatment/user-defined-wall-functions? y", I get the following error message:

Warning: User-Defined Wall Functions require UDF for Law-of-the-Wall.

Resetting near-wall treatment to default (Standard Wall Function)...

Error: api-set-var: the object is invalid
Error Object: ()

Again, I would like to emphasize that the UDF compiles with no errors, I can set the wall function through the GUI manually and it functions as expected. The issue seems to be exclusive to the TUI. Even though this technically works, I have to run a large number of simulations and would like to automate the process using journal files.
priczmarton is offline   Reply With Quote

Reply

Tags
user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
../externals/cgns/hdf5/H5public.h:63:10: fatal error: mpi.h: No such file or director Mohsin1 SU2 8 November 25, 2023 04:46
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
Transient User Defined Function in CFX Niru CFX 0 November 12, 2013 18:07
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42


All times are GMT -4. The time now is 16:57.