Hello Vishal, There are many places you will need to modify: CompressibleFlowSolver in equation systems, convective fluxes, Riemann solvers, boundary conditions, variable converter, diffusive fluxes, LDGNS (with it's boundary conditions). I have done on Nektar++ v4.4.3. I may share the code if you are interested. Aidyn On Tue, Oct 8, 2019, 06:25 Vishal Saini <vishal.saini.nitj@gmail.com> wrote:
Hi all,
I was giving the compressible flow solver a try and have a couple of queries.
1. Are the history probes set up for this solver?
2. I was looking into the possibility of adding a passive scalar term for some validation. From a first glance, it seems that an additional scalar transport equation is not implemented in the CompressibleFlowSolver (at least in the v4.5.0). Is that correct? If yes, has anyone tried that yet?
If not, could you please give me some ideas on how to start about it? I guess, we just need to add convective and diffusive fluxes to the system of equations somehow (in CompressibleFlowSystem.cpp and NavierStokesCFE.cpp?). And I guess the Boundary Conditions can be generically defined for extra variables as in CompressibleFlowSystem::DoOdeProjection function(?)
PS. What is the "smooth viscosity model"?
446 // For the smooth viscosity model 447 if (nVariables == m_spacedim+3) 448 { 449 // Add a zero row for the advective fluxes 450 for (j = 0; j < m_spacedim; ++j) 451 { 452 Vmath::Zero(nq, flux[m_spacedim+2][j], 1); 453 } 454 }
Thank you in advance for your time.
Best Regards, Vishal --- *Vishal SAINI* PhD Student Loughborough University _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users