Hi Siddarth, Can you give Douglas’ branch a go to see if it meets your requirements. Cheers, Spencer. On 2 May 2016, at 22:26, Serson, Douglas <d.serson14@imperial.ac.uk<mailto:d.serson14@imperial.ac.uk>> wrote: Hi Spencer, After fixing a couple of things I think I was able to run this using the incompressible solver (I pushed the changes to the branch fix/IncNSExtraFields). In my branch doing this is just a matter of defining the scalar fields after the velocity (p needs to be the last variable) with appropriate boundary conditions and set the (constant) coefficients using the function "DiffusionCoefficient". This way we can have multiple scalar fields with different coefficients. Cheers, Douglas ________________________________ From: nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk> <nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk>> on behalf of Sherwin, Spencer J <s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk>> Sent: 02 May 2016 09:49:02 To: Siddarth Chintamani Cc: nektar-users Subject: Re: [Nektar-users] Solve scalar transport equation along with Incompressible Navier Stokes Dear Siddarth, Sorry for a flow response. In principle it should be possible to set up more advection fields in the incompressible Navier-Stokes solver. Which could then be used as advection fields. However I am not sure this has yet been attempted by anyone. Also I fear that the ability to specify a different parameter for the advection field has been allows so I imagine this will not work at present but may well have been an easier approach in the future. If you have a steady base flow then calling the advection-diffusion solver may well work. Although from your email it should like you might be attempting to call the advection-diffusion solver from a script? This could be very slow. It might be interesting to see if more advection fields can be set up in the incompressible Navier-Stokes from the .xml file and first see what happens. If we can get this running we could then see what the best way of specifying the diffusion coefficient might for advected fields. Cheers, Spencer. On 20 Apr 2016, at 10:30, Siddarth Chintamani <siddarth.ch1990@gmail.com<mailto:siddarth.ch1990@gmail.com>> wrote: Hello all, I am trying to study scalar mixing from a jet. I can use the incompressible Navier Stokes solver to get the velocity at every time step. I am thinking of calling the advection-diffusion solver from the Navier Stokes solver every time step and solve for the scalar mixing. I was wondering if there is any other easier approach? Is there any example that I can look into? I greatly appreciate any help regarding this problem Thank you, Siddarth _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk<mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users Spencer Sherwin McLaren Racing/Royal Academy of Engineering Research Chair, Professor of Computational Fluid Mechanics, Department of Aeronautics, Imperial College London South Kensington Campus London SW7 2AZ s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk> +44 (0) 20 759 45052 Spencer Sherwin McLaren Racing/Royal Academy of Engineering Research Chair, Professor of Computational Fluid Mechanics, Department of Aeronautics, Imperial College London South Kensington Campus London SW7 2AZ s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk> +44 (0) 20 759 45052