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

How can I call EM in subroutine-----sorent.f

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2008, 10:04
Default How can I call EM in subroutine-----sorent.f
  #1
conglin
Guest
 
Posts: n/a
There are 3 subroutine used in a lagrangian two phase transient simulation-----drmast.f, drheat.f, sorent.f. The last one is used to add source term to continuou phase, and in this subroutine, a parameter difined in 'drmast.f'-----'EM' was used to difine the parameter S1P:

S1P = (-8240+7157+29326)*1000*EM

S2P = 0

In order to use "EM" in 'sorent.f', I difined this in subroutine:

CALL DRMAST(EM,DEMU)

However, it seems that the 'sorent.f' subroutine didn't work.IS the "call" wrong? How can I use 'EM' in this subroutine?
  Reply With Quote

Old   November 28, 2008, 12:12
Default Re: How can I call EM in subroutine-----sorent.f
  #2
Richard
Guest
 
Posts: n/a
Sorent is called per cell, but drmast is called per droplet. EM in drmast is for a specific droplet, the one for which drmast is called. So it's not well posed to try to access EM in sorent - which droplet do you mean? There could be any number of droplets in the cell, all with a different EM.
  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
User Subroutine ----- sorent conglin Siemens 2 November 24, 2008 21:45
About Sorent.f Choi Siemens 5 June 10, 2005 06:19
call vertices into subroutine? MG Siemens 2 November 12, 2004 11:48
subroutine sorent.f Peter Siemens 5 April 15, 2004 02:25
subroutine call order CMB Siemens 5 November 27, 2003 11:34


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