|
[Sponsors] |
[Other] Comparing OpenFOAM to another code: advice on dealing with meshes? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 11, 2016, 13:00 |
Comparing OpenFOAM to another code: advice on dealing with meshes?
|
#1 |
New Member
Join Date: May 2016
Posts: 19
Rep Power: 10 |
I would be very grateful for advice about exporting a mesh for use in benchmarking.
I want to use OpenFOAM/interFoam to reproduce/benchmark a 2D, two-phase flow simulation against a result from another code. As far as I know, meshes should be as similar as possible when benchmarking. However, I'm having a lot of trouble using the same mesh in both simulations. Here are my questions: 1. The easiest thing to do would be to use a different mesh for each code. How much of a problem would this be? Is it acceptable to call a comparison a "benchmark" if the meshes used for each code are different? 2. It is not possible to create meshes in the other code that will work for an OpenFOAM/interFoam simulation. The reason is that the other code creates its own meshes. They are not importable into OpenFOAM via any of the current mesh import functions. Also, I'm pretty sure the meshes aren't high-quality enough to result in convergence for an OpenFOAM simulation (I've attached an example). So the only solution I can think of is to export an OpenFOAM mesh in a format that is identical to what the other code requires (an example of the mesh file the other code requires is attached in "mesh.txt"). Does anyone know how to do this? Thank you. Last edited by SFr; June 11, 2016 at 16:05. Reason: Shortened, clarified |
|
June 11, 2016, 13:02 |
|
#2 |
New Member
Join Date: May 2016
Posts: 19
Rep Power: 10 |
mesh.txt
ExampleMeshOtherCode.jpgMy attachments don't seem to have appeared on my previous message, so I'm trying again here. |
|
Tags |
finite area method, finite element, finite volume method, mesh 2d, mesh and grid |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Gauss linear" gradient makes OpenFOAM zeroth-order accurate on unstructured meshes | alexandross | OpenFOAM Running, Solving & CFD | 32 | January 14, 2020 07:34 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker | rt08 | OpenFOAM Installation | 1 | February 28, 2016 20:00 |
Why do code crash when OpenFOAM is combined with VTK? | Algis | OpenFOAM Programming & Development | 0 | February 2, 2016 12:43 |
[Other] OpenFoam is too fussy about non-orthoganal meshes! | BrendaEM | OpenFOAM Meshing & Mesh Conversion | 12 | December 28, 2014 15:13 |