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

=== Using multiple POSDAT.F - simple trick ===

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 29, 2007, 10:32
Default === Using multiple POSDAT.F - simple trick ===
  #1
Tommy
Guest
 
Posts: n/a
Hi all, I'm trying to use this trick from the 2005 archive to include different subroutines depending on the situation. If I include posdat1.txt type files in the ufile directory, posdat does not compile. I get an error message saying that the posdat subroutine is missing an END statement. If I delete the end statement from posdat1.txt, I still get the same error If I comment out the INCLUDE 'posdat1.txt' command, I no longer get the error message. As I'd like to use up to 6 different posdat routines in different combinations, sorting out this problem would be excellent!!!

Many Thanks in advance.

Tommy
  Reply With Quote

Old   July 2, 2007, 07:43
Default Re: === Using multiple POSDAT.F - simple trick ===
  #2
Richard
Guest
 
Posts: n/a
As far as I recall, the original thread described something which didn't sound like it would work, so it's no wonder you are having problems. But that may be our misunderstanding due to lack of information. Maybe the original poster is able to clarify their procedure?
  Reply With Quote

Old   July 2, 2007, 09:46
Default Re: === Using multiple POSDAT.F - simple trick ===
  #3
Tommy
Guest
 
Posts: n/a
Thanks Richard, I have managed to make it work: declare all the necessary variables in POSTDAT, and then comment out declarations and the original postdat code from the .txt file. Then just include the things you want.

Tommy

  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
CFL in posdat hamodi CD-adapco 2 August 6, 2007 02:27
POSDAT Sheila CD-adapco 2 February 8, 2006 12:08
=== Using multiple POSDAT.F - simple trick === Murali CD-adapco 2 November 29, 2005 12:33
Mind Reader-What's the trick? Selina Tracy Main CFD Forum 5 April 24, 2003 12:18
posdat in HPC Won-Geun Lee CD-adapco 0 May 23, 2001 20:03


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