CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Restart using different boundary conditions (https://www.cfd-online.com/Forums/openfoam-solving/98506-restart-using-different-boundary-conditions.html)

Attesz March 12, 2012 16:57

Restart using different boundary conditions
 
Hi all,

what is the best way if I want to restart the simulation but I have new BC types and values? mapping or can I change it in the results file? I have 15M cells so opening a result file is not so straightforward :P

Best,

linnemann March 13, 2012 01:58

Hi.

As you said either you map or you use some clever sed/regex that does search and replace in the result files.

Sed would probably be faster since mapping 15M cells can take quite some time.

Best

MartinB March 13, 2012 04:29

Hi,

the "changeDictionary" utility with an appropriate changeDictionaryDict might be a good choice, too.

Martin

Attesz March 13, 2012 04:35

Thank you all! I'll have a look at the changeDictionary utility!

Best regards,
Attila


All times are GMT -4. The time now is 00:17.