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

scalarTransportFoam: scalar halts

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2016, 08:03
Default scalarTransportFoam: scalar halts
  #1
New Member
 
Join Date: Oct 2015
Posts: 5
Rep Power: 10
poros is on a distinguished road
Dear members,

I'm experiencing a problem with the scalarTransportFoam solver.

I've created two 2D meshes with snappyHexMesh for a porous medium. The fluid is assumed to be Newtonian and the flow is set to incompressible, laminar, steady-state.
The first mesh has a lower porosity than the second one.
The scalarTransportFoam solver seems to work fine in the second mesh, where thus more pore space is present. However, in the first mesh, the transport of the scalar comes to a halt at a certain moment. When I for example look at the results in ParaView, the scalar is transported through the medium when at a certain moment, the transport of the scalar completely stops (while the time continues).

The scalar is inserted into the medium at the inlet (located at the left of the medium) by using uniformFixedValue and the uniformValue as a table in the time folder. Of course the flow is solved with simpleFoam before executing scalarTransportFoam. The injection of the scalar is temporary, that's why I use a table as uniformValue.

After using quite some time to try to fix the problem, it seems to be a bug in the solver or so, which writes the same scalar values at different times.
The odd thing is that this problem doesn't occur in the second mesh which has more pore space, while both have a velocity field.

Is there anyone would can be help me with fixing this problem?
Any help would be highly appreciated!
poros is offline   Reply With Quote

Old   May 25, 2016, 04:50
Default
  #2
New Member
 
Join Date: Oct 2015
Posts: 5
Rep Power: 10
poros is on a distinguished road
In addition, I got the same problem when not using a table in the boundary conditions but instead implementing a scalar T boxToCell with setFields.

Anyone with suggestions?
poros is offline   Reply With Quote

Old   May 30, 2016, 05:24
Default
  #3
New Member
 
Join Date: Oct 2015
Posts: 5
Rep Power: 10
poros is on a distinguished road
Anyone please?
poros 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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
Issue symmetryPlane 2.5d extruded airfoil simulation 281419 OpenFOAM Running, Solving & CFD 5 November 28, 2015 13:09
Diverging solution in transonicMRFDyMFoam tsalter OpenFOAM Running, Solving & CFD 30 July 7, 2014 06:20
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 01:27


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