CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLOW-3D (https://www.cfd-online.com/Forums/flow-3d/)
-   -   Mass/momentum source at number of locations (https://www.cfd-online.com/Forums/flow-3d/109043-mass-momentum-source-number-locations.html)

max0014 November 7, 2012 17:19

Mass/momentum source at number of locations
 
Hi
I am trying to model simple 2D flow simulation where the mass/momentum source is applied through number of points. Is there a easy way to input these large number of sources (around 500) without manually adding mass/momentum source for each location?
I would highly appreciate any comments.
Many thanks in advance.
Max

JBurnham November 27, 2012 11:33

I assume you are not using the latest version. In that case, I suggest using a spreadsheet program with the '=concatenate("xxx",X1," ",X2) type syntax to generate a column of text entries for the prepin file directly. Refer to the User Manual for the variables and syntax of the prepin file.


All times are GMT -4. The time now is 12:33.