Dimensioned Scalar Help

 Register Blogs Members List Search Today's Posts Mark Forums Read

 January 8, 2014, 14:22 Dimensioned Scalar Help #1 New Member   Join Date: Jul 2012 Posts: 13 Rep Power: 5 I am solving a transport equation ddt(n)+div(n,U)=0 for a ciruclar density area. As it transport the density begins to break up. We have fixed this by inputing a diffusion coefficient into the equation making it ddt(n)+div(n,u)-k*laplacian(n)=0, where k is defined as a dimensioned scalar. The issue is that at k=10,000 the diffusion works and the density does not break up but if i increase it to k=100,000 the density structures again. Ive compared it to the case where k=0 and they look identical. Is there a maximum value for a dimensioned scalar that i am hitting when i increase k from 10,000 to 100,000? If so how can i make that value larger?

 January 9, 2014, 03:23 #2 Senior Member   Bernhard Join Date: Sep 2009 Location: Delft Posts: 790 Rep Power: 12 ddt(n)+div(n,U) is not the way to implement a scalar transport equation in OpenFOAM. You would need ddt(n)+(phi,n). Have a look at the scalarTransportFoam solver.

 January 9, 2014, 12:34 #3 New Member   Join Date: Jul 2012 Posts: 13 Rep Power: 5 The transport equation is working correctly (i just mistyped it) i just need help with understanding what a dimensioned scalar is. It seems like im maxing out the value possible for a dimensioned scalar since it works for 10000 but not 100000.

 Tags dimensionedscalar

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post vivek070176 OpenFOAM Programming & Development 10 December 24, 2014 00:48 riesotto OpenFOAM 50 May 26, 2014 01:47 immortality OpenFOAM Running, Solving & CFD 11 April 22, 2014 12:32 zqlhzx OpenFOAM Running, Solving & CFD 3 December 29, 2013 08:07 immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27

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