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

Multi-species transport algorithm in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By RobertHB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2018, 11:01
Default Multi-species transport algorithm in OpenFoam
  #1
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
Dear Foamers,
i want to simulate the transient advective/diffusive transport of multiple species (Al/Na/Si) through a liquid phase. I'm just missing a suitable solver.

The same can be done with one species in scalarTransportFoam, but the equation does not allow for the use of multiple scalar quantaties.
Everything in multiphase/... can handle multiple liquid phases, but does not seem the simulate the advection/diffusion of dispersed species.


A quick idea that came to my mind, but has to be tested, is running scalarTransportFoam for 1 species, and add the other the via a function object during runtime. Similar what was suggested here. Or even better run icoFoam and add all three species via function objects?


Can you name a suitable solver for this kind of simulation?

With kind regards,
Robert
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   September 12, 2018, 07:09
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
Results from the icoFoam - scalarTransport function object experiments.

Adding a species w/ a function object like it was explained here does nothing at first. Here is my example:
Code:
    Aluminium
    {
        type                scalarTransport;
        functionObjectLibs     ("libutilityFunctionObjects.so");
        field               Al;
        active              true;
        autoSchemes         false;
        D                   0.47e-8;
        nCorr               1;
        resetOnStartUp         false;
        fvOptions       
        {
            SourceNa
            {
                type scalarSemiImplicitSource;
                active true;

                scalarSemiImplicitSourceCoeffs
                {
                    volumeMode    absolute;         
                    selectionMode cellSet;
                    cellSet c0;
                 
                    injectionRateSuSp
                    {
                        Al (4.3e-4 0);
                    }
                }
            }
        }
    }
After adding #includeFunc scalarTransport to the controlDict icoFoam can start solving for a species called s. s can not be modified with the code presented above.
But, as soon as #includeFunc scalarTransport is inlcuded in the controlDict icoFoam starts also solving for the species defines by the code. At least the fvOptions source. It does not solve the transport.
Luiz likes this.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Reply

Tags
multi species transport, species distribution, transport model


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
Species Transport Anne009z FLUENT 0 January 27, 2018 15:40
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 07:15
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
Multi Species Problem (mass fraction) usamaperwez CFX 0 July 27, 2016 08:07
analyze results of species transport sunflower FLUENT 0 May 11, 2012 05:49


All times are GMT -4. The time now is 07:25.