|
[Sponsors] |
November 7, 2012, 18:19 |
Mass/momentum source at number of locations
|
#1 |
New Member
max
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
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 |
|
November 27, 2012, 12:33 |
|
#2 |
Senior Member
Jeff Burnham
Join Date: Apr 2010
Posts: 204
Rep Power: 17 |
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.
|
|
Tags |
flow 3d, large number of location, mass momentum source |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14:14 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |