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

passing one directional "diffusion" to UDS solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2013, 06:40
Default passing one directional "diffusion" to UDS solver
  #1
bgu
New Member
 
Join Date: Mar 2009
Posts: 9
Rep Power: 17
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


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
Strange residuals of the Density Based Solver Pat84 FLUENT 0 October 22, 2012 16: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 17:49
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 17:25
Error during Solver cfd guy CFX 4 May 8, 2001 07:04


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