# How to setup a moving "source point "

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

 October 28, 2006, 06:15 How to setup a moving "source point " #1 Nepal Guest   Posts: n/a Hello, I'm doing a welding simulation, and I cannot find the way to setup a moving source point, thanks in advances.

 October 30, 2006, 13:05 Re: How to setup a moving "source point " #2 Mike Guest   Posts: n/a Hmm, not easily done. The approach you'll need to take is to create a subdomain that includes your entire domain, then apply the source term do this subdomain. You'll have to define the source term such that it has a value of zero everwhere in the domain, except at one small region where you want to apply your source term. So you'll need to create an expression that depends on x, y, z and t, and use the step() function to limit the range over which the source term is applied. Since this is a volumetric source, don't try to apply it to a point, but rather to a small volume. For example, in 1D to apply a source between x=5 and x=5.1 use: step(x-5[m]/1[m]) * step(5.1[m]-x/1[m]) * HeatSource If things get too complex you can go to User Fortran. There's an example in the doc of applying a momentum source to a region defined by x,y,z max and mins. Hope this helps, Mike

 October 30, 2006, 20:31 Re: How to setup a moving "source point " #3 Nepal Guest   Posts: n/a Thanks, You are so powerful! I have some experience with UserFortran(CEL function and JBR), so I will try to use UserFortran to cover it. Thanks again!!!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post zaxzax CFX 4 November 9, 2011 10:56 Sebastian CFX 0 January 4, 2008 10:27 touf Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 December 10, 2007 03:27 Shanti FLUENT 0 June 2, 2007 20:14 Ralf Schmidt FLUENT 0 September 21, 2006 11:32

All times are GMT -4. The time now is 16:18.