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

GROUND LITTLE HELP

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2004, 13:00
Default GROUND LITTLE HELP
  #1
STK
Guest
 
Posts: n/a
I DEFINED BY STORE A VARIABLE CALLED 'MASS' IN Q1. FOLLOWING A TUTORIAL I CONSTRUCTED THIS CODE(SEE BELOW) IN GROUND WHERE I WANT THE VALUES OF MASS TO BE THE PRODUCT:P1*U1 OF THE FINAL SOLUTION AND I WANT TO SEE THESE VALUES IN ALL SLABS VIA RESULT.

WHERE IS THE ERROR???? I ALWAYS TAKING MASS=1E-10 FOR ALL SLABS.

C * ------------------- SECTION 6 ---- Finish of iz slab.

IF(ISWEEP.EQ.LSWEEP) THEN

L0U1 = L0F(U1)

L0P1 = L0F(P1)

L0C1 =L0F(LBNAME('MASS'))

DO IX=1, NX

DO IY=1, NY

I=IY+NY*(IX-1)

F(L0C1+I)=F(L0U1+I)*F(L0P1+I)

END DO

END DO

END IF

RETURN

THANKS BEST REGARDS
  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
Questions about GROUND mahe Phoenics 4 August 7, 2008 11:06
ground mesh of a car Juan Manuel Main CFD Forum 0 August 31, 2003 20:30
Private Ground Mohamed Ouzzane Phoenics 4 June 10, 2002 12:11
how to use my own ground? zhengenhui Phoenics 2 September 26, 2001 08:45
How to use q1 and ground file? zheh Phoenics 5 September 9, 2001 06:01


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