in one solver, two sets of meshes are used?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 January 6, 2013, 14:03 in one solver, two sets of meshes are used? #1 Senior Member   Join Date: Nov 2012 Posts: 168 Rep Power: 6 Sponsored Links Hi All, In Openfoam, within one solver, how to realize that some of the governing equations are in one set of mesh (for instance, fine mesh), and others are solved in another set of coarse mesh? the data transfer between two meshes are done by interpolation during each time step. Does anybody know something about this problem? Could you please give me some hints about this? best, h

 January 6, 2013, 15:30 #2 Super Moderator   Bruno Santos Join Date: Mar 2009 Location: Lisbon, Portugal Posts: 9,978 Blog Entries: 39 Rep Power: 108 Hi H, Quick answer: look into the solvers with the name patterns "chtMultiRegion*Foam" and "*MRF*". You can search for them with these commands: Code: ```find \$FOAM_SOLVERS -name "chtMultiRegion*Foam.C" find \$FOAM_SOLVERS -name "*MRF*.C"``` Best regards, Bruno __________________ OpenFOAM: FAQ | Getting started Forum: How to get help, to post code/output and forum guide What am I doing/planning: blog/wiki Read this before sending me PM

 January 7, 2013, 11:14 #3 Senior Member     Anton Kidess Join Date: May 2009 Location: Germany Posts: 1,251 Rep Power: 23 Bruno, those solvers couple two or more adjacent meshes. I believe the question was about overlapping meshes. This would e.g. allow you to solve velocity on a fine mesh and temperature on a coarse mesh. Unfortunately I don't have an answer to that question, I don't think it's been done so far. __________________ *On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer.

January 7, 2013, 11:18
#4
Senior Member

Join Date: Nov 2012
Posts: 168
Rep Power: 6
Quote:
 Originally Posted by akidess Bruno, those solvers couple two or more adjacent meshes. I believe the question was about overlapping meshes. This would e.g. allow you to solve velocity on a fine mesh and temperature on a coarse mesh. Unfortunately I don't have an answer to that question, I don't think it's been done so far.
Hi Anton,

You are correct. But I do not how to realize it now.

best regards,
H

 January 7, 2013, 12:15 get rid of routine head files. #5 New Member   Join Date: Jan 2012 Posts: 5 Rep Power: 7 to implement this, you have to rewrite the main program without using the routine headfiles such as the setRootCase, createMesh, createTime, createFields. For interpolation between different meshes, you can refer to mapfield tool in the userguide, maybe just copy part of the code to your own program. It would be wise to write your own interpolation function if you know the detail how the coarse mesh is refined. Not difficult, but a time-consuming task.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Peter_600 OpenFOAM 4 August 2, 2014 09:52 cfb CFX 6 November 9, 2012 16:42 Pat84 FLUENT 0 October 22, 2012 15:59 Luiz CFX 4 March 6, 2011 21:02 bearcat CFX 6 April 28, 2008 14:08