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

Advection-diffusion of passive scalar with fixedValue outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2022, 12:14
Default Advection-diffusion of passive scalar with fixedValue outlet
  #1
New Member
 
Join Date: Dec 2021
Posts: 7
Rep Power: 4
frubicle93 is on a distinguished road
Hi all,

I am trying to solve an advection-diffusion problem in OpenFOAM for a passive scalar (say temperature) where I have a Dirichlet boundary condition on the flow outlet (velocity field that advects the flow is correctly computed using SIMPLE).

Usually, we would place a fixedValue temperature at the flow inlet and a zeroGradient at the outlet, but I am considering a problem where I have a Robin/mixed condition at the inlet and fixedValue at the outlet.

The solver I am using for temperature is from scalarTransportFoam.C.

Depending on the divscheme (linear or upwind), I either get a constant solution (value dictated by Robin condition with gradient term zeroed) with oscillations at the outlet to get to the fixedValue, or I get a solution that is constant near the inlet and outlet with a smooth transition between them at some location in the domain.

I am starting to think that this might be a bit ill-posed or maybe difficult for OpenFOAM to solve? Has anyone managed to get this type of problem working well?
frubicle93 is offline   Reply With Quote

Reply


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
Plotting total passive scalar flow Lek yang STAR-CCM+ 0 July 19, 2021 03:40
Passive Scalar Transport, Diffusivity and PimpleFoam Talerbla OpenFOAM Running, Solving & CFD 1 May 6, 2021 09:02
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
[General] Problem with reading in multiple grouped Ensight .case files into paraview scro1022 ParaView 0 November 27, 2020 08:00
Error: Redefinition of function saumavadey OpenFOAM Programming & Development 3 September 24, 2020 19:23


All times are GMT -4. The time now is 14:16.