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

subroutine newxyz

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 2, 2002, 22:59
Default subroutine newxyz
  #1
leo
Guest
 
Posts: n/a
I use subroutine newxyz to solve moving grid problem. But when I just want to calculate time step 1, it actually use newxyz two times, time step 0 and 1.

How could I just use newxyz one time?
  Reply With Quote

Old   October 3, 2002, 02:44
Default Re: subroutine newxyz
  #2
roadracer
Guest
 
Posts: n/a
I had the same problem. I simply added an "if" statement that checks for the iteration number: if iter=1 jumps the mesh modification. Cheers Roadracer
  Reply With Quote

Old   October 3, 2002, 06:21
Default Re: subroutine newxyz
  #3
john YL
Guest
 
Posts: n/a
  Reply With Quote

Old   October 3, 2002, 06:24
Default Re: subroutine newxyz
  #4
john YL
Guest
 
Posts: n/a
The code is designed to allow user to change the mesh from prostar to the proper positions at time=0. As Roadracer pointed out, you can either use if(iter.gt.0) or if (time.gt.0) to skip mesh change at time=0.
  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
Who has some samples about subroutine newxyz? jshi CD-adapco 3 May 9, 2006 20:29
How to get pressure value in 'NEWXYZ' subrutine Henry Huang CD-adapco 2 March 6, 2006 06:37
Moving Mesh with NEWXYZ Dorain CD-adapco 2 March 21, 2005 03:45
Use Subroutine.. Moon CD-adapco 1 February 10, 2003 13:03
NEWXYZ leo CD-adapco 0 February 4, 2003 18:59


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