CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Particle injection at fluid velocity

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2019, 15:15
Default Particle injection at fluid velocity
New Member
Andrew Kuprat
Join Date: Jan 2016
Posts: 3
Rep Power: 10
kuprat is on a distinguished road
I'm injecting particles into a geometry using MPPICFoam (OpenFOAM-7) and the standard tutorial injection velocity is zero:

type patchInjection;

U0 (0 0 0);

However, I want to inject particles at the continuum fluid velocity (U.air). When I replace the relevant line above with
U0 U.air;
it gives an error because it is looking for a '(' character. Is there some way of injecting at fluid velocity U.air?

Last edited by kuprat; October 22, 2019 at 17:48. Reason: correction
kuprat is offline   Reply With Quote

Old   January 20, 2023, 17:32
New Member
Join Date: Oct 2020
Posts: 6
Rep Power: 5
balloon is on a distinguished road
Is there a solution to this question? Thanks
balloon is offline   Reply With Quote

Old   January 21, 2023, 10:16
Senior Member
alainislas's Avatar
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 6
alainislas is on a distinguished road
Dear balloon,

Please note that the particle injection velocity should be specified in vector format, i.e., (# # #). If you want the particles to have the same initial velocity as the carrier, just input the same value as the one defined in 0/U.air.
alainislas is offline   Reply With Quote


injection, lagrangian, mppicfoam, particles

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
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
About Particle velocity of DPM in Fluent? long zhengwei FLUENT 0 March 13, 2009 04:02
particle tracking mike CFX 3 April 17, 2006 00:05

All times are GMT -4. The time now is 04:28.