|
[Sponsors] |
February 15, 2023, 17:18 |
AMR in OpenFOAM v2212 (OpenFOAM 10)
|
#1 |
New Member
Anton Mamleev
Join Date: Feb 2023
Posts: 2
Rep Power: 0 |
Hi,
I've tried to set up a dam break problem with the use of adaptive mesh refinement by adding dynamicMeshDict to the constant directory, however no mesh refinement was obtained. I followed these two guides, which were done for the version v2012, and it seems that the same techniques don't work for v2212. https://youtu.be/bifxV2o1Vbo https://youtu.be/uSpqMV7W0Dg For the basis I took directory from the first video and changed there some files and keywords to make it runnable for the newer version of OpenFOAM: renamed turbulenceProperties to momentumTransport in constant folder, also changed keyword for writeControl from adjustable to adjustableRunTime. After these manipulations simulation ran successfully, but without any refinement. Pls, excuse me if my problem is quite obvious, but I'm new to OpenFOAM and have been trying for two days to find the solution with no luck. |
|
February 16, 2023, 04:21 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello,
Not sure about your problem, but you seem to be mixing up OpenFOAM branches and versions. There are 2 mains branches:
So which version are you using? turbulenceProperties file is still used in the ESI-OpenCFD branch while the OpenFOAM foundation branch switched from turbulenceProperties to momentumTransport a while ago. You should find which version you are using by checking the log files of your case or by typing foamVersion in your terminal. Regards, Yann |
|
February 16, 2023, 06:15 |
|
#3 |
New Member
Anton Mamleev
Join Date: Feb 2023
Posts: 2
Rep Power: 0 |
Thank you for your reply, I've checked this out: my version is OpenFOAM-10 provided by openfoam.org.
I have also OpenFOAM v2212 installed on the WSL (OpenFOAM-10 is installed in VM, I didn't notice I had installed different versions), so I'll check if AMR works there. Edit: using v2212 instead of -10 solved the problem. Thanks a lot!) Last edited by cap_27; February 16, 2023 at 09:27. Reason: Problem solved |
|
Tags |
adaptive mesh refinement, amr, dynamic mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 08:18 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |