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

How to express a varible at a given point

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 14, 2011, 20:27
Default How to express a varible at a given point
  #1
Member
 
Ji Guozhao
Join Date: Jan 2011
Posts: 37
Rep Power: 6
jiguozhao is on a distinguished road
Hi All:
How to express a varible at a specific point in CEL. for example, if i want to express the pressure at the point(x,y,z), is it p@(x,y,z)? or p_x_y_z_coord0? is there any kind hearted one who can tell me the answer?
many thanks ahead!!!
best regards
Ji Guozhao
g.ji@uq.edu.au
jiguozhao is offline   Reply With Quote

Old   March 15, 2011, 11:10
Default
  #2
New Member
 
Join Date: Oct 2010
Posts: 14
Rep Power: 6
octavyo is on a distinguished road
If you use an expression that includes a variable at specific location, CFX calculates the variable at that location.

If you express your problem in detail, we may find out a solution
octavyo is offline   Reply With Quote

Old   March 15, 2011, 18:26
Default
  #3
Member
 
Ji Guozhao
Join Date: Jan 2011
Posts: 37
Rep Power: 6
jiguozhao is on a distinguished road
Quote:
Originally Posted by octavyo View Post
If you use an expression that includes a variable at specific location, CFX calculates the variable at that location.

If you express your problem in detail, we may find out a solution
Dear Sir:
Thank you for your reply! I am super happy to that! because if i solved this problem, i can start my project.
let me express the problem in detail. I want to simulate gas mass transfer across membrane in a gas separation module.but to the best of my knowledge, only darcy's law is built in CFX, and it is not able to satisfy my requirement, so i have to introduce sink at feed side of membrane and source at permeate side. actually the quantity of sink or source is a function of both pressures at both sides.
to illustrate the problem clearly, i also attached a picture. for instance, I want to express the sink. sink_i=C*(P_j-P_i), C is a constant equal to 4.064e-9[kg m^-2 s^-1 Pa^-1]. In source tab-Fluid Mass Flux- CEL expression blank, I only wrote -p*4.064e-9[kg m^-2 s^-1 Pa^-1], treating P_j is equal to 0 pa. but in fact P_j is not constant, it is also changed with position.
Can you tell me how to deal with my problem. how can I introduce P_j to express the sink in element i?
Best regards

Ji Guozhao
g.ji@uq.edu.au
Attached Images
File Type: jpg problem.jpg (56.7 KB, 8 views)
jiguozhao 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
CFX Post: Problems with moving point cloud for changing time steps spatialtime CFX 0 December 7, 2009 05:56
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
Gmsh and samplesurface touf Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 December 10, 2007 03:27
How to mesh the 1st grid point lakeat OpenFOAM Meshing & Mesh Conversion 1 October 8, 2007 07:13
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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