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

How to exert a moving heat source on a plate?

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

Like Tree2Likes
  • 2 Post By ahmmedshakil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2014, 10:08
Default How to exert a moving heat source on a plate?
  #1
New Member
 
wumin
Join Date: Feb 2014
Posts: 7
Rep Power: 12
wumin is on a distinguished road
hello,
I'm new to OpenFoam and have a questions about how to exert a moving heat source on a plate?
It would be great if someone could help me!


Greetings

wumin
wumin is offline   Reply With Quote

Old   February 23, 2014, 22:48
Default How to exert a moving heat source on a plate?
  #2
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
There are two ways to do that. First, you can consider the heat source is fixed and the material underneath it is moving. This is called fixed co-ordinate system, and this method is good in terms of computational cost.
Second, is the moving co-ordinate system i.e. heat source is moving and work-piece is fixed.
Let, you want to impose a surface heat source. Then the easiest way is to first install groovyBC (which comes with swak4Foam http://openfoamwiki.net/index.php/Contrib/swak4Foam).
Then for,
First method (fixed co-ordinate): imposed as boundary condition
-k \frac{dT}{dx}= Q
this can be done by imposing groovyBC boundary condition easily.
Code:
type groovyBC;
variables "Q;K;";
gradientExpression "Q/K";
fractionExpression "0";
and you have to add the velocity term as : v*\frac{dT}{dX} in the governing equation.

Second methodmoving co-ordinate)

Code:
 
        type               groovyBC;
        variables       "Q;K;v;";
       gradientExpression "(Q/K)*(pos().x-v*time())"; //just for example
       fractionExpression "0";
These are just for example. I guess now you can easily impose your moving heat source.

cheers,
#shakil
Quote:
Originally Posted by wumin View Post
hello,
I'm new to OpenFoam and have a questions about how to exert a moving heat source on a plate?
It would be great if someone could help me!


Greetings

wumin
wumin and Kummi like this.
ahmmedshakil is offline   Reply With Quote

Old   February 24, 2014, 04:12
Default
  #3
New Member
 
wumin
Join Date: Feb 2014
Posts: 7
Rep Power: 12
wumin is on a distinguished road
Hi,shakil
Thanks for your reply and contribution.I have installed groovyBC successfully.
My work is mainly to simulate the melting and solidification of selective laser melting(3D printing) ,similar to the laser welding.Do you have some related case of OpenFoam application?
Thank you very much for your help!
wumin is offline   Reply With Quote

Old   February 24, 2014, 07:05
Default
  #4
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Hi Wumin,
wow great! I'm working on the similar type of project. I'm working on melting and solidification of Si under laser. Have write anything for that? For melting/solidification you can take help from: http://www.cfd-online.com/Forums/ope...g-problem.html

cheers,
#shakil
ahmmedshakil is offline   Reply With Quote

Old   February 24, 2014, 07:38
Default
  #5
New Member
 
wumin
Join Date: Feb 2014
Posts: 7
Rep Power: 12
wumin is on a distinguished road
Hi shakil,
You are my savior!!I have spent a lot of time on how to exert a moving heat source on a plate.You provide me a solution to this problem.Do you use the method of groovyBC to solve this problem?
or another method?

Greetings ,
wumin
wumin is offline   Reply With Quote

Old   February 24, 2014, 08:17
Default
  #6
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Hi,
For implementing laser heat source, I used as explained. For melting problem you can easily picked up the code from http://www.cfd-online.com/Forums/ope...g-problem.html here. That's it.

cheers,
#shakil
ahmmedshakil is offline   Reply With Quote

Old   May 7, 2014, 10:35
Default Do we need to specify a moving group
  #7
New Member
 
Sushanta Sahu
Join Date: Jun 2013
Posts: 2
Rep Power: 0
sengerandu is on a distinguished road
Dear Shakil and Wumin,

I am also working on Laser welding of Cu/Steel flats and pipes and want to simulate the process in OpenFOAM. My doubt is whether we need to specify a moving group on the face to accept the radiative heat from the laser source.

I am creating the mesh in salome-meca v2013.1. Till now I have created a mesh for the plates attached in butt fashion. Defined some groups of solids for dissimilar metals, some faces for BC. But the doubt is how to give the periodic flux to the surface at the interface.
sengerandu is offline   Reply With Quote

Old   December 8, 2016, 02:24
Default
  #8
New Member
 
Join Date: Oct 2016
Posts: 2
Rep Power: 0
jay1234 is on a distinguished road
Quote:
Originally Posted by ahmmedshakil View Post
Hi Wumin,
wow great! I'm working on the similar type of project. I'm working on melting and solidification of Si under laser. Have write anything for that? For melting/solidification you can take help from: http://www.cfd-online.com/Forums/ope...g-problem.html

cheers,
#shakil
Dear Ahmedshakil,

Hi i am currently doing laser melting too. Do you have any guide or templates which i can learn from?

Regards,
Jay
jay1234 is offline   Reply With Quote

Old   November 26, 2018, 09:00
Default
  #9
New Member
 
Christian Lackner
Join Date: Jul 2018
Posts: 2
Rep Power: 0
ChristianLackner is on a distinguished road
Hello your two,

I have the same problem, however I can not implement it right.
I always get the error code "Cannot find 'value' entry on patch up of field T in file...
... which is requiered to set the value of the generic patch field.
(Actual type groovyBC)

Can someone please tell me what i am most likely doing wrong when i get this error?

PS: I already have written libs("libgroovyBC.so") in the ControlDict, so its not because of that.
ChristianLackner 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
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41
Heat transfer from a heated plate using fins pathakamit FLUENT 1 April 30, 2013 05:07
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 00:40.