Skip to content

Export pressure as one of the attributes? #142

Answered by janbender
junyansim asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is possible. You can export any particle attribute that exists. All attribute names can be found in the GUI, tab "Fluid Model" -> "Fluid" -> "Color field" since the attributes can also be used for coloring the particles. Alternatively you could select one particle in the simulation and press the key "i" (information) to get all attribute keys and values.

However, the pressure attribute does not exist for all pressure solvers, e.g. DFSPH only provides kappa and kappa_v where:

kappa = pressure / density

kappa is used by the constant density solver and kappa_v by the divergence solver.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@junyansim
Comment options

@janbender
Comment options

Answer selected by junyansim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #139 on November 19, 2021 06:55.