CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming


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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2022, 17:13
Default Initializing
New Member
Join Date: Jul 2021
Posts: 4
Rep Power: 2
p.norouzi.gv is on a distinguished road
I defined a UDS function, and now I am trying to give an initial amount to the UDS. I used the DEFINE_INIT macro, but in the boundaries, the UDS amount is equal to 0. I would be happy to hear your ideas to solve this problem.

cell_t c;
Thread *t;
real xc[ND_ND];

/* loop over all cell threads in the domain */

/* loop over all cells */

Attached Images
File Type: jpg initial.jpg (24.8 KB, 1 views)
p.norouzi.gv is offline   Reply With Quote

Old   April 21, 2022, 22:30
Senior Member
Join Date: Apr 2013
Posts: 2,013
Rep Power: 31
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
to define variables on boundaries you may use begin_f_loop macro to loop over faces
best regards

press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote


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
Initializing large models mahmoudtmt FLUENT 3 July 16, 2017 22:35
ignorance the initializing sinatahmooresi OpenFOAM Running, Solving & CFD 0 May 22, 2016 06:13
Initializing or patching cell zones kozalp FLUENT 0 December 30, 2013 16:00
VOF error when initializing Simone Siemens 11 February 11, 2009 11:26
query regarding role of initializing in a solving Kishore FLUENT 2 July 4, 2007 23:23

All times are GMT -4. The time now is 01:38.