Skip to content

I would like to simulation by reading the initial configuration of particles and rigid bodies. #263

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

You must be logged in to vote

The state stores the positions and velocities of all particles in the bgeo file. You could also load this file in a scene as initial state. Something like this:

"FluidModels": [
		{
			"particleFile": "state.bgeo",
			"translation": [-2.0, 0.1, 0.0],
			"rotationAxis": [0, 1, 0],
			"rotationAngle": 0,
			"scale": [1, 1, 1]
		}
	]

However, the state does not store the dynamic rigid body state since this is part of an external lib.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fluidkocy
Comment options

Answer selected by fluidkocy
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