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

Extracting information on a particle track

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 17, 2003, 03:18
Default Extracting information on a particle track
  #1
Bo Jensen
Guest
 
Posts: n/a
Hi!

I would like to get the temperature in each cell that a particle track passes through. Is that possible?

Regards

Bo
  Reply With Quote

Old   November 19, 2003, 08:20
Default Re: Extracting information on a particle track
  #2
Michiel
Guest
 
Posts: n/a
Hi Bo,

Yes it is. The variable idc(idr) gives you the cell number a particle is in. You can print these data from the cell number. If idc.eq.0 the particle is stuck in the domain, If idc.lt.0 it has left the domain.

Michiel

This was sent to mee as an example in POSDAT.f by starcd

COMMON /C33001/ IDC

C --- DROPLET DATA

OPEN (UNIT=100,FILE='domain.out')

OPEN (UNIT=101,FILE='evap.out')

OPEN (UNIT=102,FILE='stuck.out')

REWIND (100)

REWIND (101)

REWIND (102)

MASSWO = 0.0

HEATWO = 0.0

DO IDR=1,NDR C --- DROPLET (IDR) IS LOCATED IN CELL (IC)

IC=IDC(IDR)

MASFRA = DRMAIC(IDR,1)/DRM(IDR)

IF (IC.GT.0) THEN

WRITE (100,911) IDR,IDT(IDR),DRD(IDR),DRM(IDR),DRT(IDR),MASFRA

ELSE IF (IC.EQ.0) THEN

WRITE (101,911) IDR,IDT(IDR),DRD(IDR),DRM(IDR),DRT(IDR),MASFRA

ELSE

WRITE (102,911) IDR,IDT(IDR),DRD(IDR),DRM(IDR),DRT(IDR),MASFRA

ENDIF

MASSWO = DRMAIC(IDR,1) + MASSWO

HEATWO = DRT(IDR)*

&(4181.72*DRMAIC(IDR,1)+1750*(DRM(IDR)-DRMAIC(IDR,1)))+HEATWO

ENDDO

CLOSE (100)

CLOSE (101)

CLOSE (102)
  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
Particle Track Domenico FLUENT 2 February 19, 2007 19:56
Particle track James Bewley CFX 0 April 28, 2006 06:04
Particle track files Sankalp CFX 1 August 25, 2004 23:25
Particle Track Zahir FLUENT 16 March 31, 2002 01:29
Particle track code Newbie Main CFD Forum 5 January 22, 2002 09:00


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