CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   Moving Mesh Problem in Unix Platform (http://www.cfd-online.com/Forums/cd-adapco/53972-moving-mesh-problem-unix-platform.html)

Arnab August 14, 2004 18:51

Moving Mesh Problem in Unix Platform
 
Hello All,

I tried to solve moving mesh problems using windows but due to compiler problems..ie I need to buy fortran compiler ..so I shifted to UNIX version and started solving tutorial 11 of moving mesh and I have some problems associated with it. I am using version 3.2

The problems are::

1. The program is not running. I created the model as instructed in the tutorial and even the geometry file and problem file is created properly.

but when i go to the mail terminal to run the pmovlink script.. the command 'pmovlink ' gives me an error saying bad command name.

2. Also when i run the model without it, I get the following error message::

**NORMAL TERMINATION**

mesolv% star

tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: Initialized [2004-08-14-14:13:53] Automatic Sequential Automatic Parallel analyzer.

tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: Allocated "mesolv,1" resource (1 process). tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: Overload STAR master processor with external moving mesh code.

tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: Assigned "mesolv,1" to STAR solver (1 process).

tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: Assigned "mesolv,1" to external moving mesh code (1 process).

tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: Analyzing User coding in "ufile" directory. tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: compiling f90 -w -fast -xarch=v9b -c uparm.f -o sunos64_5.8-ultra3-f90_7.0-dso/uparm.o

/opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/bin/star: f90: not found

tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: ***ERROR*** Compilation error in user file "ufile/uparm.f".

tee: /users/abanerje/2004/Tut/star.msg: No such file or directory

PNP: ==> Please check the compilation error messages.

mesolv%

Could you tell me where my problem is? If someone wants me to send the files...cgrid.cgrd and uparm.f.new then i can send it so that someone can clear my doubts.

UPARM FILE:::

C************************************************* **********************

SUBROUTINE UPARM(VCORN,A,I)

C User-coded EGRID parameters

C************************************************* **********************

C----------------------------------------------------------------------*

C STAR VERSION

3.20.000 *

C----------------------------------------------------------------------*

INCLUDE 'comdb.inc'

COMMON/USR001/INTFLG(100)

DIMENSION A(0:999),I(0:999)

DIMENSION VCORN(3,NDMAXU)

INCLUDE 'usrdat.inc'

C-----------------------------------------------------------------------

C

C This subroutine enables the user to define parameters to be used

C by pro-STAR when it is called during the execution of EGRID

C in a moving mesh simulation.

C

C ** Parameters to be returned to STAR: A,I

C

C-----------------------------------------------------

------------------

NDOM=0

DC 10 IC=14,602,14

CISTAT= 0 => DELETED

CISTAT= -1 => MARKED FOR DELETION

CISTAT=- 2 => NO SUCH FLUID CELL (may BE SOLID, BAFFLE,SHELL ETC)

CISTAT= 1 => LIVE CELL

CALL LIVCLL(IC,ISTAT)

IF(ISTAT.EQ.1) NDOM=NDOM+1

10 CONTINUE

C

I(0) = NDOM

NUP = 0

DO 20 IC=2473,3061,14

CALL LIVCLL(IC,STAT)

IF(ISTAT.EQ.1) NUP=NUP+1

20 CONTINUE

I(1) = NUP

A(0)=DT

C Sample coding: To specify a piston position and number of cells

C Suppose there are 10 cells initially, and one

cell is removed at

C each event from the bottom.

C

C The EGRID commands in pro-STAR will be

C *SET,NCLL,I000

C *SET NCDL 10 - NCLL

C *SET,PPOS,A000

C VSET NEWS VRANGE 1 NCDL * 10 + 1

C VMOD VSET,,,PPOS

C VFILL NCDL * 10 + 1,101,NCLL,NCDL * 10 + 11,10,4,1

C

C The corresponding coding in UPARM for I000 and

A000 will be

C

C PI=3.14159265

C C=40.0

C A1=9.0

C OMEGA=100.

C ZREF=1.

C THETA=PI*OMEGA/30.*TIME

C A(0)=A1*(1.-COS(THETA))-C+SQRT(C**2-A1**2*(SIN

(THETA)**2))

C I(0)=IEVNO

C----------------------------------------------------- ------------------

RETURN

END

C


F.K. August 15, 2004 06:51

Re: Moving Mesh Problem in Unix Platform
 
If usercoding is used the Fortran Compiler Absoft must be installed on Windows Linux AND Unix plattforms. Why do think a Fortran compiler is not necessary on UNIX plattforms?


Arnab August 15, 2004 16:55

Re: Moving Mesh Problem in Unix Platform
 
Hello All,

I ran another simple program and it gave me no errors in writing geometry file nor in problem file but when i start to run the analysis interactively, I came across with the below error..

Can someone tell me if there is a common connection between both the simulations... the one i wrote before(1st message) and the one now.

Is both have errors in running due to any missing link or compiler or something???

Shared library path is .:/opt/starcd/PROSTAR/3.20.01/sunos64_5.8-ultra/lib64/prostar:/opt/starcd/RUNTIM E/1.2.0/sunos64_5.8-ultra2/lib:/opt/starcd/PROSTAR/3.20.01/sunos64_5.8-ultra/lib 64:

****** pro-STAR VERSION 3.20.001 ******

PRE/POST PROCESSOR FOR STAR-CD

BUILD DATE=MAR-17-2004

PROSTAR

= /opt/starcd/PROSTAR/3.20.01/sunos64_5.8-ultra/

STARDIR = /opt/starcd/

STAR = /opt/starcd/STAR/3.20.000/sunos64_5.8- ultra3-f90_7.0-dso/

STARUSR = ./

Checking license file: /opt/FLEXLM/9.0.0/sunos_5.8-com/bin/license.dat

Checking license file: /opt/starcd/license/license.dat 1 copies of starsuite checked out

from /opt/FLEXLM/9.0.0/sunos_5.8-com/bin/licen se.dat

all other features can only be checked out from same server

Feature starsuite expires in 319 days

Using a 24 bit TrueColor visual (visual id: 0x27).

RUNNING CASENAME: twod

./star_inter.sh: ~/envdump: cannot create /opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/bin/starwdaemon: syntax

error at line 1: `(' unexpected

PNP: Initialized [2004-08-15-15:38:29] Automatic Sequential Automatic Parallel a nalyzer.

PNP: Allocated "mesolv,1" resource (1 process).

PNP: Assigned "mesolv,1" to STAR solver (1 process).

PNP: Loading STAR solver dynamic shared object plug-ins.

PNP: Starting TRACKER task on "mesolv" for monitoring host and process failur es.

PNP: Spawning STAR process on single node. /opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/lib/star: ^?ELF^B^B^A^B

+^A^A^A?\200@^N^X: not found /opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/lib/star: @8^E@^Z^X^F^E

@^A@^A^X^A^X^C^D^AX^Y^A^E^A: not found /opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/lib/star: \202: not fo und

/opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/lib/star: \202^P^A^G: not found

/opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/lib/star: \210^A^Z\21

0y^A+l^P^B^G: not found

/opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/lib/star: ^A^Z^C/u sr/lib/sparcv9/ld.so.1^E^E^C^G^H: not found

/opt/starcd/STAR/3.20.000/sunos64_5.8-ultra3-f90_7.0-dso/lib/star: syntax error at line 8: `(' unexpected

PNP: Shutdown [2004-08-15-15:38:31] Execution aborted by request (SIGABRT) af ter 2 seconds (TOTAL ELAPSED TIME).


Jo August 16, 2004 08:59

Re: Moving Mesh Problem in Unix Platform
 
In 3.2, one should type mvgrid,on,PROSTAR instead of mvgrid,one alone as in 3.15 (told from technical support)


All times are GMT -4. The time now is 08:55.