CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

Mass/momentum source at number of locations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2012, 17:19
Post Mass/momentum source at number of locations
  #1
New Member
 
max
Join Date: Oct 2011
Posts: 10
Rep Power: 14
max0014 is on a distinguished road
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
max0014 is offline   Reply With Quote

Old   November 27, 2012, 11:33
Default
  #2
Senior Member
 
Jeff Burnham
Join Date: Apr 2010
Posts: 204
Rep Power: 17
JBurnham is on a distinguished road
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.
JBurnham is offline   Reply With Quote

Reply

Tags
flow 3d, large number of location, mass momentum source


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
[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


All times are GMT -4. The time now is 00:44.