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

Using scalarSemiImplicitSource with PisoFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By tomf

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 23, 2017, 04:56
Default Using scalarSemiImplicitSource with PisoFOAM
  #1
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
Dear all,
i've managed to add a scalarTransport solver to my pisoFOAM simulation using the #includeFunc scalarTransport command.
This works fine as long as i have an inlet and can define an inlet condition for my scalar value s.

Now, for further simulations using cyclic boundaries, i want to implement a scalar source within my domain using the fvOptions dict and the scalarSemiImplicitSource entry. Following the approach taken in multiple thread here in the forum i added the following part to my fvOptions dict.

Code:
Tracer
{
    type            scalarSemiImplicitSource;
    active          true; //using yes doesn't change anything

    scalarSemiImplicitSourceCoeffs
    {
        selectionMode   points;
        volumeMode        absolute;
        points            
        (
            (32 29.1 0.5)
            (32 29.1 1)
            (32 29.1 1.5)
        );
        
        injectionRateSuSp
        {
            s   (1.0 0);
        }
    }
}
And the next line to my controlDict
Code:
libs  
(
      "libutilityFunctionObjects.so" 
);
The entry is debugged to the point where the solver starts running, but it does not use the above defined scalar source. The following error is printed:

Quote:
--> FOAM Warning :
From function virtual void Foam::fv:: option::checkApplied() const
in file cfdTools/general/fvOptions/fvOption.C at line 118
Source Tracer defined for field s but never used
--> FOAM Warning :
From function virtual void Foam::fv:: option::checkApplied() const
in file cfdTools/general/fvOptions/fvOption.C at line 118
Source Tracer defined for field s but never used
So, the question is: Where did i make a mistake? Something seems to be wrong here.

PS: OpenFOAM 4.1 on Ubuntu 16.04 LTS
RobertHB is offline   Reply With Quote

 


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
Differences in solution method for pisoFoam and buoyantBoussinesqPisoFoam mchurchf OpenFOAM 7 August 6, 2023 09:12
uRANS - laminar simulation using pisoFoam cyln OpenFOAM 1 July 15, 2017 18:28
How can I get stedaystate solution from pisoFoam? mykkujinu2201 OpenFOAM Running, Solving & CFD 1 December 8, 2015 07:37
pisoFoam, pimpleFoam - Fluent user's questions RodriguezFatz OpenFOAM Running, Solving & CFD 0 September 4, 2013 04:26
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18


All times are GMT -4. The time now is 01:28.