CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

How to use the CFX periodic interface

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

Like Tree1Likes

LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2018, 21:59
Default udf error
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 7
zhihuawan is on a distinguished road
Originally Posted by ghorrocks View Post
You are running a free surface simulation with surface tension. You will find that to get this to converge you will need amazingly small time steps. Surface tension modelling increases the simulation's sensitivity to time step size. So try smaller time steps. Even better, use the adaptive time steps I recommended before (adaptive time steps works very well for this class of simulations).
long time no see you,I now meet a problem about udf,can you help me?when I interpret it to the fluent,it gives errors "error:E:fluent/volume.c;line 28arse error." The udf are as follows:

/************************************************** *********************
UDF for specifying volume profile boundary condition
************************************************** **********************/

#include "udf.h"

DEFINE_PROFILE(inlet_volume, thread, position)
real x[ND_ND]; /* this will hold the position vector */
real y, h;
face_t f;
h = -0.0009; /* inlet height in m */
F_CENTROID(x, f, thread);
y = x[1];
if (y<h)
F_PROFILE(f, thread, position) =1;
else {
F_PROFILE(f, thread, position) =0;
end_f_loop(f, thread)

zhihuawan is offline   Reply With Quote

Old   January 15, 2018, 17:20
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,321
Rep Power: 138
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Try the fluent forum.
ghorrocks is offline   Reply With Quote


cfx, interface, periodic, translational

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
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
Radiation interface hinca CFX 15 January 26, 2014 18:11
Confused about periodic interface Jeff STAR-CCM+ 3 August 15, 2012 23:30
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22
Periodic Interface Magnoli CFX 0 November 7, 2007 08:51

All times are GMT -4. The time now is 15:19.