CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

customer library problem for parallel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 23, 2012, 03:53
Default customer library problem for parallel
  #1
New Member
 
June
Join Date: Dec 2009
Posts: 18
Rep Power: 7
examosty is on a distinguished road
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?
examosty is offline   Reply With Quote

Old   August 26, 2012, 07:53
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings examosty,

Quote:
Originally Posted by examosty View Post
Could you please give me a hint?
From your description and your question, I suppose the only logical hint is:
Look at the OpenFOAM source code for ideas!
Specially every application and library related to dynamic meshes.
Good luck!
Bruno
wyldckat is offline   Reply With Quote

Old   August 26, 2012, 14:23
Default
  #3
New Member
 
June
Join Date: Dec 2009
Posts: 18
Rep Power: 7
examosty is on a distinguished road
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
examosty is offline   Reply With Quote

Old   August 26, 2012, 15:18
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   August 26, 2012, 15:22
Default
  #5
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 156
Rep Power: 8
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
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.
jhoepken is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20: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


All times are GMT -4. The time now is 19:10.