CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

User Field Function

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ping

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2014, 04:09
Default User Field Function
  #1
Member
 
Join Date: May 2014
Posts: 30
Rep Power: 11
mosef is on a distinguished road
Hey,

I created a 2D-circle which is filled with a material (paraffin). I want to simulate melting/solidification of the material. When I simulate the melting of the paraffin, it should be sink down to the ground, because the density of the solid paraffin is higher then the density of the molten paraffin.
I can simulate this by setting the 'Flow Stop Relative Solid Fraction' to >1. This is not the problem. But I am not satisfied with the solution...

My question now is:
Is it instead possible to set the 'Flow Stop Relative Solid Fraction' to < 1 and to create a field function, which defines a velocity for the paraffin in the y-direction (downwards)?
I have no experience with defining field functions and I have not found a good tutorial, is there somewhere a good one? Or can you help me telling me if this is possible?

Thanks a lot
mosef is offline   Reply With Quote

Old   June 30, 2014, 07:07
Default
  #2
Member
 
Join Date: May 2014
Posts: 30
Rep Power: 11
mosef is on a distinguished road
If I set the Flow Stop Function between 0 and 1, the melting process would look like this (doen't look right):
Attached Images
File Type: jpg Melting.jpg (19.4 KB, 31 views)
mosef is offline   Reply With Quote

Old   July 3, 2014, 14:50
Default Similar...
  #3
New Member
 
Alyssa
Join Date: Jul 2014
Posts: 6
Rep Power: 11
amjohn92 is on a distinguished road
I'm trying to do something similar (modeling paraffin melting). I'm super new to the software, and I can't figure out how to get even as far as you are. I can't get the right physics models and set them up. Could you give me some tips?

Thanks,
Alyssa
amjohn92 is offline   Reply With Quote

Old   July 7, 2014, 04:42
Default
  #4
Member
 
Join Date: May 2014
Posts: 30
Rep Power: 11
mosef is on a distinguished road
Of course I can help you I think.
Your mesh is in a good quality? Which physic models do you have so far?
mosef is offline   Reply With Quote

Old   July 14, 2014, 04:57
Default
  #5
Member
 
Join Date: May 2014
Posts: 30
Rep Power: 11
mosef is on a distinguished road
Has nobody an idea how to solve my problem?
mosef is offline   Reply With Quote

Old   July 15, 2014, 11:24
Default
  #6
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
you cant impose a velocity directly but you can apply a momentum source which will add or subtract fluid velocity and this can be applied as a constant or from a field function

see the help on sources and on field functions to see how to do this

you can use the resulting velocities to alter the source function to increase or decrease the velocity at each time step
Leen_1 likes this.
ping is offline   Reply With Quote

Old   July 16, 2014, 10:27
Default
  #7
Member
 
Join Date: May 2014
Posts: 30
Rep Power: 11
mosef is on a distinguished road
I'll try it. Thanks so far.
mosef is offline   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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
mean, variance and covariance statistics of any field function on any part. Subhadeep STAR-CCM+ 8 February 18, 2010 17:19
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
User Field Function hannow STAR-CCM+ 3 November 24, 2009 20:20


All times are GMT -4. The time now is 15:03.