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

passing one directional "diffusion" to UDS solver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 21, 2013, 05:40
Default passing one directional "diffusion" to UDS solver
  #1
bgu
New Member
 
Join Date: Mar 2009
Posts: 9
Rep Power: 8
bgu is on a distinguished road
Hi experts
In a 3D (x,y,z) domain I need to solve a scalar equation using UDS. The scalar, f, varies only in the (z) direction, namely, df/dz=C(z)*f, where C(z) is a function which I compute in the UDF.
I thought of solving this using the Fluent UDS solver with convective flux=0, diffusion coefficient=1 and a suitable source term S.

the UDS equation will look like this: -d/dxi(df/dxi)=S

Given the definition of my scalar f, it follows that: S=-grad( C(z)*f )[z].
Here is the problem: the "diffusion" is valid only for (z), thus, both d/dx and d/dy should=0, i.e. no source for this directions.

How to pass this information to the UDS solver?

Thank you
bgu is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange residuals of the Density Based Solver Pat84 FLUENT 0 October 22, 2012 15:59
Could you comare StarCD with CFX 5?Help, please... Suteh CFX 54 November 7, 2001 21:12
CFX 5.5 Roued CFX 1 October 2, 2001 16:49
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 16:25
Error during Solver cfd guy CFX 4 May 8, 2001 06:04


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