CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

How to setup a moving "source point "

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2006, 06:15
Default 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.
  Reply With Quote

Old   October 30, 2006, 12:05
Default 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
  Reply With Quote

Old   October 30, 2006, 19:31
Default 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!!!
  Reply With Quote

Reply


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
Can't see the continuty source point zaxzax CFX 4 November 9, 2011 09:56
Source Point injection Sebastian CFX 0 January 4, 2008 09:27
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27
Make a point moving...URGENT Shanti FLUENT 0 June 2, 2007 20:14
UDF to define source term at every grid point Ralf Schmidt FLUENT 0 September 21, 2006 11:32


All times are GMT -4. The time now is 06:48.