|
[Sponsors] |
March 14, 2014, 06:32 |
DEFINE_ADJUST to patch at each time step?
|
#1 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26 |
Hi all,
I have a problem with a udf (I'm not very expert). Problem: 2D problem with 2 fluids and one solid, as in the attached picture. Only energy is solved, no motion. Problem is transient: total time 7200 seconds, time step: 1 second I want to patch water at each time step with a temperature which is function of time (linear function, from 5 ˚C at time 0 s to 8 ˚C at time 7200 s). I think I should go with the DEFINE_ADJUST macro but I don't know how to assign temperature to water domain. Any help is appreciated. Thank you, Daniele |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam negative alpha | karasa03 | OpenFOAM | 7 | December 12, 2013 03:41 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |