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

Realizing algorithm in CFX

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 29, 2007, 04:06
Default Realizing algorithm in CFX
  #1
Bloshchitsyn Vladimir
Guest
 
Posts: n/a
Hello! I want realize algorithm for computing source term ( x, y, z) in CYLINDER region (subdomain):

1) Calculate inegral for specified Z section ( to determine ~ E electric field by current ) ... Intergal will be dounle summ of Temperature ( Function of temperature ) by x and y

2) Calculate source term using resuls of step 1)

AFAIK, for this procedure I should use functions like described there http://www.cfd-online.com/Forum/cfx_...cgi?read=21401

<QUOTE>---------------------- 1 - USER_CALC_INFO to determine the LOCALE and ENTITY for step 3

2 - USER_GETVAR to get the "vector variable"

3 - USER_GET_MESHDATA to get the Normal Area Vector. Here you must use WHAT='Normal Area Vector", WHERE=Faces|Integration Points depending if ENTITY=CENTRE|IP

4 - USER_GET_MESHDATA to get the Volume Sector using WHAT='Volume', and WHERE='Sectors'

Then, pass the stack pointers into a local routine that will compute something like (be careful with indexing and array shapes).

DO I = 1, N

VAR(I) = (VECTOR(1,I)*AREA(1,I) +VECTOR(2,I)*AREA(2,I) +VECTOR(3,I)*AREA(3,I)) / VOLSEC(I) ENDDO

<QUOTE>-----------------------------------------------

Can you present, this algorithm more detailed?
  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
heat generation in CFX Ema CFX 4 August 7, 2009 05:39
Electronics Enclosure Analysis with CFX Simulation Engineer CFX 1 April 22, 2009 11:08
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 11:59
Modified Equation for CFX algorithm Craig Johansen CFX 0 August 27, 2004 23:02
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


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