CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Moving workpiece instead of Heat source Problem

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

LinkBack Thread Tools Display Modes
Old   April 11, 2013, 03:57
Default Moving workpiece instead of Heat source Problem
Senior Member
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 132
Rep Power: 8
ahmmedshakil is on a distinguished road
I'm facing a strange problem...I'm solving the equation below
dT/dt - v* dT/dx - (k/rho*Cp) (d2T/dx2+d2T/dy2+d2T/dz2) =0

v= welding speed
My intention is to instead of moving the heat source I want to move the work piece itself.
In OpenFOAM, I have modelled the equation like this:

volVectorField gradT = fvc::grad(T);
volScalarField dtdx = gradT.component(0);
fvm::ddt(T) - fvm::laplacian(DT, T) - VX*dtdx
For declaration of VX I have tried following both ways:
1. dimensionedScalarField
2. volVectorField and then taking X component of the velocity (VX)
But the problem is that, solution is acting like a fixed heat's not moving....
Anyone can give me idea to work out this .....Thnx in advance
ahmmedshakil is offline   Reply With Quote

Old   April 20, 2013, 23:17
New Member
Chris Prohoda
Join Date: Mar 2013
Posts: 6
Rep Power: 6
cpro is on a distinguished road
Why are you multiplying the dT/dx term by a field? Does the welding speed vary with location? It seems that a dimensionedScalar would work if the welding speed in constant across the entire system (though not necessarily constant in time).
cpro is offline   Reply With Quote


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
How to model a moving heat source? James FLOW-3D 11 January 7, 2015 22:59
Heat source Inetsity (W/m3)-Moving Sami.Sawalha ANSYS 0 February 17, 2013 03:35
Problem with Mass source, Momentum source theory diffo Fluent UDF and Scheme Programming 0 August 20, 2009 06:10
Moving heat source (melt pool) new_cfd_analyst FLUENT 1 January 25, 2007 15:37
heat source problem John FLUENT 1 April 9, 2003 13:08

All times are GMT -4. The time now is 04:13.