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

Ethane not present in gases database

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By HWilliams79
  • 1 Post By FliegenderZirkus

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2022, 17:58
Default Ethane not present in gases database
  #1
New Member
 
Hollis Williams
Join Date: Jan 2022
Posts: 16
Rep Power: 4
HWilliams79 is on a distinguished road
I am doing a multi-component gas simulation. One of the gases which I need is C_2 H_6 (ie. ethane gas), but it does not seem to be in the database when I try to add it as a mixture component.

Is there some way to manually add a new component if I look up (or work out) the material properties like the dynamic viscosity and so on?
skdubey likes this.
HWilliams79 is offline   Reply With Quote

Old   February 17, 2022, 03:19
Default
  #2
Member
 
Join Date: Nov 2019
Posts: 93
Rep Power: 6
FliegenderZirkus is on a distinguished road
You can add a new material in Tools -> Material Databases. "Tools" in the simulation tree on the left, not the top menu.
HWilliams79 likes this.
FliegenderZirkus is offline   Reply With Quote

Old   February 17, 2022, 18:16
Default
  #3
New Member
 
Hollis Williams
Join Date: Jan 2022
Posts: 16
Rep Power: 4
HWilliams79 is on a distinguished road
I wonder if I could ask a follow-up question (I could ask as a separate question if necessary). I have used a multi-component physics model to set up three different gases going into a box through three different inlets.

I specify the mass flow rates at the three inlets and then try to specify that only one gas is going into each inlet by for example writing for the species mass fraction [0.3, 0, 0] at the first inlet where the mass fraction of the gas for that inlet is meant to be 0.3 and so on, to specify the relative proportions of the gases.

When I click the green flag on the toolbar to initialize the solution it says

''Sum of mass fractions is zero on [Fluid]''

Could you advise on what might be causing this?
HWilliams79 is offline   Reply With Quote

Old   February 18, 2022, 00:20
Default
  #4
Member
 
Join Date: Nov 2019
Posts: 93
Rep Power: 6
FliegenderZirkus is on a distinguished road
I think there are two things going on. First, check if you have a meaningful initial condition for the mass fractions. Normally you'll find this in the Physical Continuum node. Star doesn't make any assumptions regarding the initial condition and leaves all mass fractions as zero so you have to update them and make sure they add up to one. And second, the mass fractions at your inlets also have to add up to one, so a pure component 1 should be [1.0, 0, 0], not [0.3, 0, 0]. Sometimes you can choose to only enter N-1 mass fractions and then the last one is calculated so that the sum is = 1, but I don't think that's the case here.
FliegenderZirkus is offline   Reply With Quote

Old   February 18, 2022, 09:04
Default
  #5
New Member
 
Hollis Williams
Join Date: Jan 2022
Posts: 16
Rep Power: 4
HWilliams79 is on a distinguished road
In Physics Continuum under Initial Conditions there is a condition ''Species Mass Fraction'' which I think is for the total mass fraction profile, so this also adds up to 1 and I can use this to specify the relative proportions of each gas, for example [0.3 0.3 04], or something like that?
HWilliams79 is offline   Reply With Quote

Old   February 18, 2022, 09:14
Default
  #6
Member
 
Join Date: Nov 2019
Posts: 93
Rep Power: 6
FliegenderZirkus is on a distinguished road
Exactly. Does the error ''Sum of mass fractions is zero on [Fluid]'' still appear when you enter [0.3 0.3 0.4]?
FliegenderZirkus is offline   Reply With Quote

Old   February 18, 2022, 09:36
Default
  #7
New Member
 
Hollis Williams
Join Date: Jan 2022
Posts: 16
Rep Power: 4
HWilliams79 is on a distinguished road
Yes, it seems to be working in the sense that one at least gets a picture for the mixing of concentrations which looks reasonable.

However, I've attached the legend which shows the same value on left to right of the spectrum for some reason.
Attached Images
File Type: png molarconcentration.png (3.8 KB, 3 views)
HWilliams79 is offline   Reply With Quote

Old   February 18, 2022, 10:09
Default
  #8
Member
 
Join Date: Nov 2019
Posts: 93
Rep Power: 6
FliegenderZirkus is on a distinguished road
I'd need more context to have a chance of guessing what may be causing this!
FliegenderZirkus is offline   Reply With Quote

Old   February 18, 2022, 13:52
Default
  #9
New Member
 
Hollis Williams
Join Date: Jan 2022
Posts: 16
Rep Power: 4
HWilliams79 is on a distinguished road
My mistake, it's simply because clicking the green flag sets the initial conditions in place, so the molar concentration is the same everywhere in the geometry. In this case, the molar concentrations observed correspond to the mass fractions set at the inlet.
HWilliams79 is offline   Reply With Quote

Reply

Tags
multi component


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Using database files in OpenFOAM menonshyam OpenFOAM Programming & Development 3 August 16, 2014 15:28
Can't open the database. Help Please! CFX Begineer CFX 1 October 27, 2002 13:08
can't open database cfx 5.5.1 Olivier Macchion CFX 4 October 7, 2002 09:19
can't open database Olivier Macchion CFX 0 September 25, 2002 03:14


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