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

quite surprising,dose anyone know the reason?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2006, 23:44
Default quite surprising,dose anyone know the reason?
  #1
shuqin
Guest
 
Posts: n/a
hi,everybody!dose any one know the reason?

I defined a uds and a define_profile udf for it ,after selecting the flow and specie equations, I initialized,access violation ccame out and I could not go on solving.

and then I selected only the flow and specie equations without applying uds's profiles and it works well,when converged ,I apply the udf profile and select to solve the uds equation.it works and no error came.

It is rather confusing for me,Does anyone know why I have to select the uds equation later,since all these cases are taken under segregated solver bye the way,the code is below:

DEFINE_PROFILE(potential_bc, t, i)

{

face_t f;

cell_t c;

begin_f_loop(f,t)

{

F_UDMI(f,t,1)=0.9757;/* a function to be changed */

}end_f_loop(f,t)

begin_f_loop(f,t)

{

F_PROFILE(f,t,i) =F_UDMI(f,t,1);

}end_f_loop(f,t)

}

  Reply With Quote

Reply


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
Reason for oscillating residuals fayaazhussain Main CFD Forum 3 August 21, 2014 11:31
Reason for asymmetry in symmetric geometries doubtsincfd Main CFD Forum 1 June 10, 2010 09:13
Who can tell me the reason why Re_tau=395? lakeat OpenFOAM Running, Solving & CFD 2 June 26, 2009 06:46
Discussion: Reason of Turbulence!! Wen Long Main CFD Forum 3 May 15, 2009 10:52
Reason of divergence ? Brayton Main CFD Forum 3 December 2, 2000 23:34


All times are GMT -4. The time now is 21:54.