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

Multiple Sources

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2003, 15:56
Default Multiple Sources
  #1
Jonathan
Guest
 
Posts: n/a
Hello CFX People,

I am continuing my attempt to model a fuel cell with CFX 5.6. Here is my current multicomponent problem:

If I want to remove a certain amount of only one species, I have to use a mass sink. Unfortunately this means I take out some of every species. To counteract this, I wrote some User FORTRAN to figure out how much of the other species come out with my mass sink and I want to then use a mass source (where I can specify a certain mass fraction) to replace the species that were supposed to remain.

So I need to define a mass sink and a mass source on the same Sub-domain. CFX 5.6 will not allow me to do this:

ERROR There is an inconsistency in the problem definition. The location of a number of subdomains overlap. This is not allowed in the current version of the software.

Subdomain "Source" contains the following overlapping regions: "SOURCE"

Subdomain "Sink" contains the following overlapping regions: "SOURCE"

Has anyone out there found a way around this?

Can any one suggest a solution?

Thank you, Jonathan
  Reply With Quote

Old   October 25, 2003, 15:49
Default Re: Multiple Sources
  #2
Johnson
Guest
 
Posts: n/a
Hi Jonathan

If you set the environment variable

GTM_BETA_ALLOW_SUBDOMAIN_OVERLAP

to the value 1, this should allow you to set-up multiple subdomains at the same location in CFX-Pre and the CFX-5 Solver.

Regards,

Johnson
  Reply With Quote

Old   October 27, 2003, 14:29
Default Re: Multiple Sources
  #3
Jonathan
Guest
 
Posts: n/a
Thank you for the suggestion Johnson.

I am probably missing something obvious. Isn't an environment variable used for interacting with your operating system? Do you mean expert parameter? How do you set an environment variable in CFX 5.6?

Sorry for the addition questions, Jonathan

  Reply With Quote

Old   October 27, 2003, 15:42
Default Re: Multiple Sources
  #4
Johnson
Guest
 
Posts: n/a
I don't know what the reason is for activating the feature through an environment variable, but it is definitely activated that way. Maybe because it is not a fully supported feature ...
  Reply With Quote

Old   October 28, 2003, 09:09
Default Re: Multiple Sources
  #5
Jonathan
Guest
 
Posts: n/a
Johnson,

I still haven't been successful in setting up this environmental variable. I created the variable in the cfx5rc file and didn't have any success - same errors. (I hope I did everything correctly.)

How did you implement this environment variable?

It is curious that there is no mention of this in the CFX documentation. Have you used this feature or simply just heard about it?

Jonathan
  Reply With Quote

Old   October 28, 2003, 09:30
Default Re: Multiple Sources
  #6
Johnson
Guest
 
Posts: n/a
Hi

It's a little known (and therefore not fully supported) feature, which is why it is not mentioned in the documentation.

You need to set the environment variable on your system, e.g. for unix use

setenv ENV_VAR value

or on Windows, set it by going through the Advanced tab on the System Properties form. When you've set it, restart the CFX-5 launcher and then CFX-Pre and you should be able to set up your sources.

Johnson
  Reply With Quote

Old   October 28, 2003, 09:54
Default Re: Multiple Sources
  #7
Jonathan
Guest
 
Posts: n/a
Thank you very much. I appreciate your replies.

Jonathan
  Reply With Quote

Old   October 28, 2003, 16:52
Default Re: Multiple Sources
  #8
Jonathan
Guest
 
Posts: n/a
I've got it working now.

I needed to set GTM_BETA_ALLOW_SUBDOMAIN_OVERLAP=TRUE. (Not 1)

Thanks again for all of your help.

Jonathan
  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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
Modeling the power sources saisanthoshm88 CFX 2 April 6, 2011 19:46
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
Multiple domain/Multiple material problems... possible or not? Amiga500 OpenFOAM 1 April 14, 2010 16:32
CFX 5.5 Roued CFX 1 October 2, 2001 17:49


All times are GMT -4. The time now is 00:56.