CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread Display Modes
Old   April 6, 2016, 18:31
Default setfield new variable from the middle of simulation
  #1
New Member
 
Join Date: Dec 2012
Posts: 19
Rep Power: 11
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, 16:32
Smile
  #2
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 9
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, 17:10
Default Thanks
  #3
New Member
 
Join Date: Dec 2012
Posts: 19
Rep Power: 11
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

Old   September 14, 2022, 00:31
Default
  #4
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 217
Rep Power: 7
joshmccraney is on a distinguished road
Quote:
Originally Posted by smraniaki View Post
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
Were you ever able to get funkysetfields to modify the field properties mid simulation?
joshmccraney 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 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 04:16
variable density in single fluid simulation not running with total energy viking CFX 2 September 18, 2012 21: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 17:57.