|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
max
Join Date: Oct 2011
Posts: 10
Rep Power: 14 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
|
![]() |
||||
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 10:03 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 13:14 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 13, 2000 23:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 03:43 |