Re: [Nektar-users] Nektar++ questions
Dear Hans, Sorry for being so slow in getting back to you. Things are just been a bit busy recently. I am new to Nektar++ and I would like to ask you some questions which I couldn't find in the documentation. - Plotting streamlines: I have been trying to plot streamlines with Paraview; any additional output option must be set in the .xml file? I do not believe so since if yo have the velocity field then the plotting package should be able to work this out. - Adding tracers: is there the possibility to add tracers to the simulations? That is, a way to track particles or groups of them throughout the simulation You should be able to add a passive scalar to the incompressible Navier-Stokes solver. I believe Douglas added this feature recently and am cc’ing him to confirm it is now in the master release (note this is different to the release on the web page which is slightly older). - Probes: is there a way to put probes? i.e. to output the change of certain variables at a particular computational domain's point. Yep we call these history points. Details of this should be in the user-guide. - Iteration curves: is there a way to plot the residuals (velocity's, for example) vs iterations? How to output this? Not quite sure what you require here but if you run with the -v option you can see the number of iterations per time step. - SFD: I would need to have a look at the source where this method is defined but the search option of the doxygen-generated documentation does not work. Which file should I have a look at? You should have a look at the Driver files. There are in the library library/SolverUtils/DriverSteadyState.cpp Also it would be good if you can send these request to the nektar-user list since you may then get more helpful responses from others. Cheers, Spencer. 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
Hi Hans, Regarding the streamlines, you first need to create the velocity vector inside paraview. This can be done using a Calculator filter with "u * iHat + v * jHat + w * kHat" (or "u * iHat + v * jHat" in 2D). You can then use the StreamTracer filter on the result to obtain streamlines. Cheers, Douglas ________________________________ From: Sherwin, Spencer J Sent: 11 December 2016 13:36:55 To: Hans Giel Cc: Serson, Douglas; nektar-users Subject: Re: Nektar++ questions Dear Hans, Sorry for being so slow in getting back to you. Things are just been a bit busy recently. I am new to Nektar++ and I would like to ask you some questions which I couldn't find in the documentation. - Plotting streamlines: I have been trying to plot streamlines with Paraview; any additional output option must be set in the .xml file? I do not believe so since if yo have the velocity field then the plotting package should be able to work this out. - Adding tracers: is there the possibility to add tracers to the simulations? That is, a way to track particles or groups of them throughout the simulation You should be able to add a passive scalar to the incompressible Navier-Stokes solver. I believe Douglas added this feature recently and am cc'ing him to confirm it is now in the master release (note this is different to the release on the web page which is slightly older). - Probes: is there a way to put probes? i.e. to output the change of certain variables at a particular computational domain's point. Yep we call these history points. Details of this should be in the user-guide. - Iteration curves: is there a way to plot the residuals (velocity's, for example) vs iterations? How to output this? Not quite sure what you require here but if you run with the -v option you can see the number of iterations per time step. - SFD: I would need to have a look at the source where this method is defined but the search option of the doxygen-generated documentation does not work. Which file should I have a look at? You should have a look at the Driver files. There are in the library library/SolverUtils/DriverSteadyState.cpp Also it would be good if you can send these request to the nektar-user list since you may then get more helpful responses from others. Cheers, Spencer. 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
participants (2)
- 
                
                Serson, Douglas
- 
                
                Sherwin, Spencer J