[parsec-users] extending input set for fluidanimate

Christian Bienia cbienia at CS.Princeton.EDU
Thu Mar 25 16:40:04 EDT 2010



Jim's suggestion should give you a good input with not too much work.
Another approach would be to write a synthetic input generator that will
generate random inputs with any amount of particles. You need to vary the
initial position and velocity of the particles. You also must make sure that
particles start within the bounding box and do not initially move too fast,
otherwise the simulation will become numerically unstable. The upper bound
on the velocity is given by the grid size and the time step size.


If you use significantly more particles you might want to consider to
increase the volume of the bounding box. The particles should fit in


Why exactly do you want bigger inputs?


- Chris



From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of Jim
Sent: Thursday, March 25, 2010 3:48 PM
To: 'PARSEC Users'
Subject: Re: [parsec-users] extending input set for fluidanimate




More than 500K particles?


If so, as a quick and dirty "hack", edit the SaveFile such that it doubles
the particle count and writes each particle twice. Run the in_500K.fluid in,
and write out in_1M.fluid. Repeat this to double the particle counts.
Probably it would be best to add an additional argument to specify the
multiplier (and so you do not have to remember to remove the"hack"). You
might want to add a randomizer to the point duplicator such that no two
particles come in at exactly the same position. You might want to keep the
replicated particles within a reasonably close position. Should the
resultant file cause an explosion in the particles (blast out of the bottom
of the domain well) you can use the display mode and let the simulation run
until it has quieted down somewhat (but not all the way). Then reset the
simulation without display to run to that frame number. The output file is
now a reasonable approximation of what you might want.


Jim Dempsey.



From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of Kirak Hong
Sent: Thursday, March 25, 2010 2:35 PM
To: parsec-users at lists.cs.princeton.edu
Subject: [parsec-users] extending input set for fluidanimate


I am trying to make more input data set for fluidanimate in parsec 2.1.
I tried to find out input format and how to generate extra input data, but
didn't find anything yet.
Has anybody tried this before? Any help would be highly appreciated!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20100325/884e28b7/attachment.htm>

More information about the parsec-users mailing list