Zapdos output visualization in Paraview

17 views
Skip to first unread message

Mohamed Ezzat Mostafa

unread,
Feb 21, 2019, 7:17:32 AM2/21/19
to zapdos-users
Hey--

I am running Zapdos on mac and using paraview for data visualization, but I am a bit confsued about the outputs varaible names, units and scalihng, could someone help me with that or give me a documentation to read? A screen shot is attached for the 1d_dc test problem with the profiles. 

Thanks and best
Mohamed

profiles-zapdos.png

csde...@ncsu.edu

unread,
Feb 21, 2019, 11:20:56 AM2/21/19
to zapdos-users
Good morning,

From you screen shot, it looks like you are only looking at the direct variables for the densities (em and Arp). As you may know, Zapdos calculates the densities in log form so you need to use the auxkernels "Density" or "DensityMoles" to convert to values to a number density (units should be #/m^3 depending the the units you used for your coefficients). If you are modifying the "mean_en.i" then those auxkernels should already be in the input file and the variables are called em_lin and Arp_lin, for electron and ion density respectively. For the other variables:
- emliq is in the log form of the electrons in the water (which is zero, since you are looking in the gas domain "block 0")
- mean_en is the log form of the mean electron energy. You can convert that into electron temperature using the "ElectronTemperature" auxkernel. If you are modifying the "mean_en.i" file, the variable is called e_temp
- OHm is the OH in the water (again zero, since you are looking in the gas domain "block 0")
- potential is in units of your voltage scaling (either V or kV)
- x_node is a auxvariable used to help plot the variables using the correct x-axis units (i.e. it is used in the "x array name" section of Paraview to convert your x-axis to meters)

For documents, Alex's thesis is inside Zapdos under the "doc" file.

I hope that helps.

Thank you,
Corey DeChant

Alexander Lindsay

unread,
Feb 21, 2019, 11:32:54 AM2/21/19
to zapdos...@googlegroups.com
It looks like you're either using the PlotOverLine or PlotData filter. Use the PlotData filter. You can choose whether you want to visualize the gas block (block 0), the liquid block (block 1), or both. In the properties box in the bottom left select "Cell Data" for the attribute type. You'll want to make sure you use "x" for the X array name (don't use "Index" for the XAxis since the mesh is not-uniform). Then to view the charged species densities in SI units (#/m^3) make sure you visualize the "*_lin" variables, e.g. em_lin and Arp_lin. This will yield something like the attached figure.

--
You received this message because you are subscribed to the Google Groups "zapdos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/2d1c7564-ff5b-4bf6-8ad1-d50e58b7384d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
linear-visualization.png
Reply all
Reply to author
Forward
0 new messages