|
[Sponsors] |
October 28, 2006, 07:15 |
How to setup a moving "source point "
|
#1 |
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 |
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 |
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!!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't see the continuty source point | zaxzax | CFX | 4 | November 9, 2011 10:56 |
Source Point injection | Sebastian | CFX | 0 | January 4, 2008 10:27 |
[Gmsh] Gmsh and samplesurface | touf | OpenFOAM Meshing & Mesh Conversion | 2 | December 10, 2007 03:27 |
Make a point moving...URGENT | Shanti | FLUENT | 0 | June 2, 2007 21:14 |
UDF to define source term at every grid point | Ralf Schmidt | FLUENT | 0 | September 21, 2006 12:32 |