# udf, b.c. measurment

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Display Modes
 November 23, 2011, 10:21 udf, b.c. measurment #1 Senior Member   hamid Join Date: Nov 2010 Posts: 185 Rep Power: 7 Hi i want to calculate average pressure at the boundary, the code is as follow? DEFINE_PROFILE(outlet_catheter,thread,nv) { face_t f; real NV_VEC (A); T=RP_Get_Real("flow-time"); begin_f_loop(f,thread) { F_AREA (A,f,thread); force+=F_P(f,thread)*NV_MAG(A); P= force/(area of cross section); VF = QF/(area of cross section); F_PROFILE(f,thread,nv)=-VF; } end_f_loop(f,thread) } my question is for finding average pressure at the boundary which of the following is correct? 1. F_AREA (A,f,thread); force+=F_P(f,thread)*NV_MAG(A); pressure = force/(area of cross section) OR 2. Pressure= F_P(f,thread); %%%%%%%%%%%%% another question is can i use minus value in velocity inlet? thanks alot for ur helps

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Ray Hong FLUENT 0 December 28, 2005 20:35 Park FLUENT 0 April 28, 2005 21:32 Andrew FLUENT 4 May 25, 2004 04:24 David FLUENT 4 February 8, 2004 23:15 JI Lucheng FLUENT 2 December 28, 2001 20:18

All times are GMT -4. The time now is 20:44.

 Contact Us - CFD Online - Top