|
[Sponsors] |
July 15, 2005, 01:11 |
I found that PrimitivePatch di
|
#1 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
I found that PrimitivePatch didn't implement two functions: internalEdges() and boundaryEdges().
These two functions are used in PrimitivePatchInterpolation<patch>::faceToEdgeInte rpolate(). If we don't use "faceToEdgeInterpolate" function, everything is fine. So I implemented those two functions in class PrimitivePatch. But, when I try to compile the library with "wmake libso OpenFOAM" command, it's so so slow. The compiler works very hard to compile everything in the directory of OpenFOAM. Since I only changed a little in the library code, is there any method to only compile these changes and make the library? I mean don't recompile all files to get those object files.
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
July 15, 2005, 03:49 |
PrimitivePatch is templated on
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
PrimitivePatch is templated on the type of container that holds the faces and what the compiler is doing is OK - there is a LOT of code depending on PrimitivePatch. As for internal and boundary edges, the organisation of code has changed. Edges are ordered such that the internal edges come first, up to nInternalEdges() and are followed by the boundayr edges. I am not sure why the faceToEdgeInterpolate code was not fixed, but I'll have a look - should be easy.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
slow simulation | Shuo | Main CFD Forum | 2 | February 28, 2008 20:07 |
V4 very slow! | Steve | Siemens | 3 | June 9, 2006 08:37 |
Converging very slow | Q | FLUENT | 0 | March 16, 2006 04:48 |
DPM slow evaporation | Vix | FLUENT | 3 | November 30, 2005 14:38 |
Slow convergence | Jesper | CFX | 1 | July 7, 2004 17:59 |