CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Moving workpiece instead of Heat source Problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2013, 04:57
Default Moving workpiece instead of Heat source Problem
  #1
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Hi
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:

TEqn.H
{
volVectorField gradT = fvc::grad(T);
volScalarField dtdx = gradT.component(0);
solve
(
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 source...it's not moving....
Anyone can give me idea to work out this .....Thnx in advance
ahmmedshakil is offline   Reply With Quote

Old   April 21, 2013, 00:17
Default
  #2
New Member
 
Chris Prohoda
Join Date: Mar 2013
Posts: 6
Rep Power: 13
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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 14 June 29, 2020 09:46
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 07: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 14:08


All times are GMT -4. The time now is 07:11.