CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Assign Particle Size in java for Polyhedral Partcles

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2018, 08:02
Default Assign Particle Size in java for Polyhedral Partcles
New Member
Join Date: Apr 2018
Posts: 1
Rep Power: 0
Vee is on a distinguished road
Hello together,

I try to use a CSV file in which I exported location, orientation and particle size from a DEM simulation using Polyhedral Particles for a CFD simulation.

Unfortunately I have no idea how to assign the size of the particle in java when I am recreating the particles to use them for CFD. I use a template particle (an elongated dodecahedron) which is imported to my 3D-CAD Geometry. This template particle is transferred several times to parts (translated and rotated). I would like to assign the size from my CSV to the particle as well. This is how the coding looks like in java:

cadModel_0.createParts(new NeoObjectVector(new Object[]{body_0}));
SolidModelPart solidModelPart_0 =
((SolidModelPart) simulation_0.get(SimulationPartManager.class).getP art("Surface-Knit2"));
solidModelPart_0.setPresentationName("Particle Shape " + i);

simulation_0.get(SimulationPartManager.class).rota teParts(new NeoObjectVector(new Object[]{solidModelPart_0}),
new DoubleVector(new double[]{xRotationAxis, yRotationAxis, zRotationAxis}),
new NeoObjectVector(new Object[]{units_0, units_0, units_0}), rotationAngle, labCoordinateSystem_0);

simulation_0.get(SimulationPartManager.class).tran slateParts(new NeoObjectVector(new Object[]{solidModelPart_0}),
new DoubleVector(new double[]{x, y, z}),
new NeoObjectVector(new Object[]{units_0, units_0, units_0}), labCoordinateSystem_0);

Only the assignment of the particle size is missing. I saved the particle diameter as volume equivalent sphere in my CSV file.

Is there somebody who can help me out?

Thanks in advance.
Vee is offline   Reply With Quote

Old   April 22, 2018, 10:45
Senior Member
Join Date: Mar 2009
Posts: 543
Rep Power: 16
ping is on a distinguished road
you can set the size in the injector but you might need separate injectors for each size or change the size of one injector at each injection cycle
ping is online now   Reply With Quote


java, particle position, polyhedral particle, star ccm+ 12.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD-DEM Simulation - Particle Size compared to mesh cell size 90nash Main CFD Forum 5 November 1, 2018 21:50
How to assign an initial velocity to a particle? Hossein1 Fluent UDF and Scheme Programming 7 October 25, 2018 10:43
Lagrangian particle tracking and cell size Julian K. CFX 4 May 27, 2014 12:35
In DPM model, with rosin-rammler particle size distribution described problems, thank fa84a8g779 FLUENT 1 July 11, 2013 22:30
Particle size distribution-concentration contours Umesh Shah FLUENT 3 July 22, 2003 15:46

All times are GMT -4. The time now is 01:40.