|
[Sponsors] |
August 23, 2012, 03:53 |
customer library problem for parallel
|
#1 |
New Member
June
Join Date: Dec 2009
Posts: 18
Rep Power: 16 |
Dear Foamer,
For the motion of dynamicMesh i wrote a library, which was copied and changed from oscillatingFixedValue. I tested it with single processor, it works fine. But I can not use it parallel. I suppose, something else should also be done, which seems obviously for other people (because I don't find anything about it in internet). Could you please give me a hint? |
|
August 26, 2012, 07:53 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings examosty,
From your description and your question, I suppose the only logical hint is: Look at the OpenFOAM source code for ideas!Good luck! Bruno
__________________
|
|
August 26, 2012, 14:23 |
|
#3 |
New Member
June
Join Date: Dec 2009
Posts: 18
Rep Power: 16 |
Hi Bruno,
Thank you very much for your nice replay. The libary works on single processor. Now I want to run it parallel. I try to read the OpenFOAM source code. The problem is, because of my poor C++ I don't even know which one is improtant in this case. Could you please show me an example? Or the problem can not be solved with changing one or two file? Best Regards, June |
|
August 26, 2012, 15:18 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi June,
It's easier if you do this the other way around: if you can provide a full example of what you're trying to do, it'll be a lot easier for anyone to help you! You don't need to provide the code you are working on now, but you should provide at least a small+complete example of the kind of modifications you want to do! I say this because OpenFOAM is a massive toolbox that can do all sorts of things and we might end up trying to talk about completely different "dynamicMesh" libraries... Best regards, Bruno
__________________
|
|
August 26, 2012, 15:22 |
|
#5 |
Senior Member
|
I guess, without showing any code, nobody will be able to help you out. Maybe you should reveal some of your code?
Otherwise introduce a lot of Info output and figure out, where it breaks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem Importing Geometry ProE to CFX | fatb0y | CFX | 3 | January 14, 2012 19:42 |
Can I solve this problem by Fluent? | Kai_kc | FLUENT | 1 | October 27, 2010 05:29 |
Strange Problem With updating the library | farhagim | OpenFOAM | 0 | August 10, 2010 12:34 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |