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

Mass/momentum source at number of locations

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 7, 2012, 18:19
Post Mass/momentum source at number of locations
  #1
New Member
 
max
Join Date: Oct 2011
Posts: 10
Rep Power: 5
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, 12:33
Default
  #2
Senior Member
 
Jeff Burnham
Join Date: Apr 2010
Posts: 204
Rep Power: 8
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM 23 July 10, 2015 09:44
swak4Foam-groovyBC build problem zxj160 OpenFOAM 18 July 30, 2013 13: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 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 06:32.