|July 15, 2005, 00:11||
I found that PrimitivePatch di
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118Rep Power: 9
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.,
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802
|July 15, 2005, 02:49||
PrimitivePatch is templated on
Join Date: Mar 2009
Location: London, England
Posts: 1,783Rep Power: 22
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.
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
|Thread||Thread Starter||Forum||Replies||Last Post|
|slow simulation||Shuo||Main CFD Forum||2||February 28, 2008 20:07|
|V4 very slow!||Steve||CD-adapco||3||June 9, 2006 07: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 16:59|