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

user fortran

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2001, 13:06
Default user fortran
  #1
dingding
Guest
 
Posts: n/a
hi,all

Do you try to compute the gradient of a scalar variable? Now, I use the utility routine GRADS to compute the temperature gradient at a conduction boundary. You know, the heat flux can be compute by the temperature gradient. OK! I acquired the heat flux by the kind of way.

However,a problem is always dazzling me.

Do you try to use "WALL HEAT FLUX" variable name to acquire the heat flux directly?

I try the two kinds ways to compute the wall heat flux, but the results don't coincide, why?

If you are interested in the problem, we can discuss this problem in here!
  Reply With Quote

Old   August 26, 2001, 19:32
Default Re: user fortran
  #2
Glenn Horrocks
Guest
 
Posts: n/a
Hi all,

This sounds similar to a problem I had recently. If I remember correctly, I was attempting to calculate the mass flow rate out a pressure patch. When I integrated over the patch (ie summed the node face area * density * normal valocity over the patch), the figure I got didn't equal the "mass flow rate out patches" listed in the output file. The two answers were close, but significantly different (about 10% different).

I never really figured out why there was a difference. I assumed it was due to my use of what is effectively a second order scheme to perform the integration, whereas CFX uses a better scheme. Of course, this was only my assumption and they're usually wrong.

Any suggestions?

Glenn
  Reply With Quote

Old   August 26, 2001, 21:09
Default Re: user fortran
  #3
Robin Steed
Guest
 
Posts: n/a
dingding and Glenn,

Are you referring to CFX-5, CFX-TASCflow, or CFX-4? Please be specific.

Robin
  Reply With Quote

Old   August 27, 2001, 07:10
Default Re: user fortran
  #4
dingding
Guest
 
Posts: n/a
hi,Robin

According to my experiences, CFX5 or CFXTASCflow can not use the user-subroutine. I use cfx4.3. I think that Glenn use the same software too.
  Reply With Quote

Old   August 27, 2001, 19:09
Default Re: user fortran
  #5
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

Yes, sorry about that - I was using CFX4.3

Glenn
  Reply With Quote

Old   August 28, 2001, 01:09
Default Re: user fortran
  #6
Dan Williams
Guest
 
Posts: n/a
You can use user source code in CFX-TASCflow just fine, but I don't think you need to use it to calculate a mass or heat flow. So, you should probably try your experiments again as they did not work correctly.

On the other hand, you are correct about CFX-5.4.1. It does not have a user source code interface.

Dan.
  Reply With Quote

Reply


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
Importing external DLL to Ansys CFX using user Fortran snpradeep CFX 2 May 16, 2014 03:52
user routine, user funcion, or fortran compile effect on the memroy? princeps11 CFX 1 May 13, 2009 18:37
User fortran routines, DEBUG AND OUTPUT Bloshchitsyn Vladimir CFX 5 October 29, 2007 01:31
CFX5 and user FORTRAN Worth CFX 9 December 25, 2003 01:43
Best Code for User Fortran worth Main CFD Forum 4 November 14, 2003 10:21


All times are GMT -4. The time now is 13:16.