|
[Sponsors] |
July 18, 2016, 11:59 |
Overwrite Values each n-th time step
|
#1 |
New Member
Martin
Join Date: Dec 2014
Location: Graz/ Austria
Posts: 8
Rep Power: 12 |
Hey everyone,
Got a question: Is it possible to overwrite a solution of a object each n-th time step? More accurate, I have several objects in my calculation grid, and i want to "copy" the values of object 1 to object 2 and so on... Thank you in advance, Cheers |
|
July 20, 2016, 05:09 |
|
#2 |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Can you explain a bit more so we can try to help?
|
|
July 20, 2016, 06:44 |
|
#3 |
New Member
Martin
Join Date: Dec 2014
Location: Graz/ Austria
Posts: 8
Rep Power: 12 |
Yes of course,
I want to model the warming of steel slabs as passing through a furnace. The steel slabs are therefore shifted every x seconds. So, the steel slab on position 1 moves to position 2 and so on. So, when I am performing a transient simulation is it possible to copy all Information from one steel slap to another each x seconds. I know in transient simulations it is possible to write data with "Automatic Export", but is it possible with an udf, so i do not have to do it manually? cheers |
|
July 20, 2016, 07:48 |
|
#4 | |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Quote:
|
||
July 20, 2016, 08:25 |
|
#5 |
New Member
Martin
Join Date: Dec 2014
Location: Graz/ Austria
Posts: 8
Rep Power: 12 |
Thank you very much.
Maybe other questions arise later cheers |
|
October 11, 2016, 05:48 |
|
#6 |
New Member
Martin
Join Date: Dec 2014
Location: Graz/ Austria
Posts: 8
Rep Power: 12 |
Hello,
another question arised. The method with the UDM seems great, but in my case i have more than 500 cells, so the memory will be exceeded. Is there another possibility to transfer the data and maybe modify during the transfer? Thanks in advance, Cheers |
|
October 11, 2016, 06:35 |
|
#7 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
I use UDM with more than 40 million cells, so it is hard to believe that you run into problems with 500 cells...
|
|
October 11, 2016, 06:53 |
|
#8 |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
I'd say the same. I work with over 40 UDM and 1.2mi cells and had no problem at all. I think either there is a misunderstanding from your part or you are doing something wrong that is causing the loop not to stop running and is overloading your memory.
|
|
October 11, 2016, 07:02 |
|
#9 |
New Member
Martin
Join Date: Dec 2014
Location: Graz/ Austria
Posts: 8
Rep Power: 12 |
Apparently I misunderstood something.
Thaks for your help cheers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Multiple floating objects | CKH | OpenFOAM Running, Solving & CFD | 14 | February 20, 2019 10:08 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |