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

Specify Temperature of Inflowing Mass Source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2018, 16:33
Default Specify Temperature of Inflowing Mass Source
  #1
New Member
 
Jeff Anon
Join Date: Aug 2018
Posts: 1
Rep Power: 0
JeffAnon is on a distinguished road
Hi All,

Relatively new to FOAM - I have a scenario using reactingFoam in which I have set up a mass source at an injection location. I have prescribed the mass flow rate and momentum at this location, but do not know how to prescribe the temperature of the inflowing mass.

I ran a test ignoring temperature, and as expected, the temperature within my domain plummeted due to the inflowing mass lacking any energy.

Is there a simple way to prescribe the temperature of the inflowing source? Or, do I need to prescribe this is another way, e.g., as a separate heat source at the same location?

My code in fvOptions..
Code:
massSource1
    {
        type            scalarSemiImplicitSource;

        scalarSemiImplicitSourceCoeffs
        {
            $injector1;

            volumeMode      absolute;
            injectionRateSuSp
            {
                rho     (0.31397 0); // kg/s
                Chemical1   (0.31397 0); // kg/s
            }
        }
    }

    momentumSource1
    {
        type            vectorSemiImplicitSource;

        vectorSemiImplicitSourceCoeffs
        {
            $injector1;

            volumeMode      absolute;
            injectionRateSuSp
            {
                U           ((0 -44.64 0) 0); // kg*m/s^2
            }
        }
    }
Thanks for your consideration!
JeffAnon is offline   Reply With Quote

Old   September 1, 2018, 11:04
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
Have you tried using an energy source at the same location? It would be a simple addition of h with some value to your scalarSemiImplicitSource. For reference, check out this tutorial -- It looks like it's doing the same thing :

https://github.com/OpenFOAM/OpenFOAM...tant/fvOptions

Caelan
clapointe is offline   Reply With Quote

Reply

Tags
mass source term, temperature


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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 03:48.