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

setfield new variable from the middle of simulation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 6, 2016, 17:31
Default setfield new variable from the middle of simulation
  #1
New Member
 
Join Date: Dec 2012
Posts: 18
Rep Power: 5
smraniaki is on a distinguished road
Hello,

I want to set temperature to a droplet after some evolution of the interface. My alpha field has been changed from spherical shape (droplet) to an elliptical shape after sometimes and now its time to set a temperature to my droplet. how can I do that without overwriting alpha. Basically I want to take the same alpha field that has been evolved and assign a temperature field to that alpha field. I know I can set them(alpha and temperature) from the beginning but I am looking for a solution to set the temperature from mid way. Does anybody know how to do that?

Thanks,
Smran
smraniaki is offline   Reply With Quote

Old   April 10, 2016, 15:32
Smile
  #2
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 3
rapierrz is on a distinguished road
Hi smraniaki,

You can use of funkySetField in swak4foam package.

in funkySetField you can define that under specific conditions,a specific field

apply to the domain.this condition can be time or another filed or ... .
rapierrz is offline   Reply With Quote

Old   April 10, 2016, 16:10
Default Thanks
  #3
New Member
 
Join Date: Dec 2012
Posts: 18
Rep Power: 5
smraniaki is on a distinguished road
Hello Hesam,

Thank you for your advice. I've never used the funkysetfield package. can yo elaborate more or do you have a script sample of funky package that does what I want or similar to that so I get to the point quickly?

Thank you,
Smran
smraniaki is offline   Reply With Quote

Reply

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 stop Workbench Fluent simulation in the middle Pierre1 FLUENT 2 March 20, 2015 11:40
Use homogeneous results as the initial guess for an inhomogeneous simulation JuPa CFX 5 December 26, 2014 14:44
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 03:16
variable density in single fluid simulation not running with total energy viking CFX 2 September 18, 2012 20:19
3-D Contaminant Dispersal Simulation Apple L S Chan Main CFD Forum 1 December 23, 1998 11:06


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