|
[Sponsors] |
March 10, 2010, 17:02 |
solver for multi region?
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi,
I would like to solve for magnetic field (Maxwell equation) induced by permanent magnets. Each magnet has different material properties. Hence, I am considering a new solver with multi regions. chtMultiRegionFoam is similar, but, much more complex because it solves both fluid and solid. Has anyone tried anything similar, ie, one governing equation (vector, not scalar) but, with multiple regions? Thanks! Pei |
|
March 26, 2010, 10:11 |
|
#2 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
I don't think it should be too hard. I modified chtMultiRegionFoam for a simple diffusion equation (for a scalar) between two regions where the diffusivity changes between the two regions.
Here's my model: multiRegion-chtMultiRegion.tgz And you can see the basic result here: http://www.cfd-online.com/Forums/ope...tml#post251624 |
|
March 28, 2010, 07:55 |
|
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Thanks a lot benk!
I will study your implementation. Maybe we can write a tutorial on this later. Pei |
|
March 29, 2010, 10:30 |
|
#4 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
I can help with a tutorial on this, although I'm still trying to understand chtMultiRegionFoam myself.
|
|
July 22, 2023, 12:48 |
implicit approach for region coupling
|
#5 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Dear foamers
I am simulating a multie-region problem in OF. As far as I now, cht multiregion solver implements explicit approach for coupling the regions. (It modifies the boundary value at the coupled interface by iterations). I want to know if there is an implicit approach for coupling. Like making fvMatrix for different regions and assembling them and finally solving one general fvMatrix? best, Hossein |
|
July 23, 2023, 06:41 |
|
#6 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,244
Rep Power: 29 |
Hello Hossein,
In the OpenCFD branch there is an implicit mode for chtMultiRegionFoam since version v2112: https://www.openfoam.com/news/main-n...mplicit-cyclic If I remember correctly, there was a thread about it somewhere on the forum where people noticed different results when using the implicit mode compared to the original explicit one. Tobias opened a bug report about it: https://develop.openfoam.com/Develop.../-/issues/2536 It's still open so I don't know what is the current behavior in the latest version. Hope this helps, Yann |
|
July 24, 2023, 03:58 |
|
#7 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Hi
Than you very much for your response. As I checked the solver in the latest version, it solves fvMatrix of each region ,seperately. it seems that, it couples the regions explicitly. best regards, Hoss Last edited by H...G; July 25, 2023 at 11:28. |
|
July 24, 2023, 04:01 |
|
#8 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Hi
Than you very much for your response. As I checked the solver in the latest version, it solves fvMatrix of each region ,seperately. it seems that, it couples the regions explicitly. best regards, Hoss Last edited by H...G; July 25, 2023 at 11:28. |
|
July 24, 2023, 04:50 |
|
#9 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,244
Rep Power: 29 |
Hello Hoss,
When the implicit mode is used, one single energy equation is solved at once for all regions. Regards, Yann |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |