Particle Tracking Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Particle Tracking « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

mjkennedy
New member
Username: mjkennedy

Post Number: 1
Registered: 08-2010
Posted on Friday, August 06, 2010 - 04:48 pm:   

I am solving for the 2-D motion of a particle suspended in a fluid medium and under the influence of an electric field. I have time-dependent equations of motion for the particle:

dt(particle_velocity) = func(E_field, fluid_velocity)
dt(particle_position) = particle_velocity

E_field and velocity_fluid do not depend on time. What is the best way to couple my steady state solutions for E_field and fluid_velocity into the time-dependent problem for particle_velocity?
Top of pagePrevious messageNext messageBottom of page Link to this message

rgnelson
Moderator
Username: rgnelson

Post Number: 1392
Registered: 06-2003
Posted on Saturday, August 07, 2010 - 02:24 pm:   

Use TRANSFER to export the field and velocity from the steady state problem, and import them into the particle system using TRANSFERMESH.
Top of pagePrevious messageNext messageBottom of page Link to this message

mjkennedy
New member
Username: mjkennedy

Post Number: 2
Registered: 08-2010
Posted on Wednesday, August 11, 2010 - 04:58 pm:   

I wrote a simple program to compute fluid_velocity, a vector field, over a mesh for a rectangular channel. Then, I wrote a program to import this mesh and then compute particle_position, a global variable, at subsequent times for some initial position. However, I get a Singular Matrix Error on attempting to run the latter program. What might cause this?
application/octet-streamCompute fluid_velocity
Export.pde (1.2 k)
application/octet-streamTrack particle_position
Import.pde (0.8 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

rgnelson
Moderator
Username: rgnelson

Post Number: 1395
Registered: 06-2003
Posted on Sunday, August 15, 2010 - 08:02 pm:   

FlexPDE assumes that it is supposed to calculate a set of scalar fields over the defined domain. These fields could be temperature or components of a velocity, or any number of things. But the position of a particle moving through the domain is not in any way I can see representable by scalar fields. You could compute flow trajectories, meaning flow from every possible incoming point. But how this is to be related to delay time from entry is beyond me.

By trying to use an EVAL to limit the field to a single input point, you have merely created an under-specified system.

And FlexPDE has no built-in particle-tracking facilities.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration