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

How looks an usersubroutine

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2004, 06:08
Default How looks an usersubroutine
  #1
Torsten
Guest
 
Posts: n/a
Hello, i want to give a temperature function to a boundary. How looks an usersubroutine for this problem.

Thank you very much for your help. Torsten
  Reply With Quote

Old   September 14, 2004, 09:16
Default Re: How looks an usersubroutine
  #2
Guillaume
Guest
 
Posts: n/a
Have you taken a look on the sample coding provided in Star ?
  Reply With Quote

Old   September 14, 2004, 09:32
Default Re: How looks an usersubroutine
  #3
Torsten
Guest
 
Posts: n/a
I have, but i havn`t found anything. Perhaps i have found a method of resolution.

IF(IREG.EQ.0) THEN U=0 V=0 W=0 TORHF=293+345*log(8*TIME+1) !that´s my temp.function SCALAR(1)=?? RESWT=0.05 RSTSC(1)=?? ENDIF

What stay for the question mark? Is the other code okay? thank´s a lot
  Reply With Quote

Old   September 14, 2004, 13:07
Default Re: How looks an usersubroutine
  #4
Jörn Beilke
Guest
 
Posts: n/a
Just create a little testcase and have a look if the coding works as expected.
  Reply With Quote

Old   September 15, 2004, 03:41
Default Re: How looks an usersubroutine
  #5
Torsten
Guest
 
Posts: n/a
I have never used a subroutine before. Do i have to select in Run Analysis Interactively YES for the question "Do you have User Subroutines?"? What have i to do with the boundary conditions? What have i to select for Wall Heat? Thank´s
  Reply With Quote

Old   September 16, 2004, 03:21
Default Re: How looks an usersubroutine
  #6
Peter
Guest
 
Posts: n/a
YES, you have to select yes. if you don't run star interactively and use starlink, you are asked, if the compilation should be checked or something like that- then you can see the errors. The boundary condition should be USER. Normally the subroutine bcdefw.f is used then, and there you can add your user coding
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fidap/usersubroutine/bcnode uwe FLUENT 0 November 26, 2001 02:59


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