|
[Sponsors] |
November 25, 2008, 06:15 |
Hello,
I am trying to use the
|
#1 |
New Member
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
Hello,
I am trying to use the class coupledFvScalarMatrix with OpenFOAM 1.5. Has anybody successfully compiled the coupledMatrix directory from http://openfoam-extend.svn.sourceforge.net/viewvc/openfoam-extend/trunk/Core/Ope nFOAM-1.4.1-dev/src/coupledMatrix/ with the 1.5 release? Or am I likely to get into unsurmountable problems and better downgrade my project to 1.4.1-dev? When running "wmake all" in the coupledMatrix directory, the first error I get is >In file included from coupledLduMatrix/coupledLduMatrix.C:36: >coupledLduMatrix/coupledLduMatrix.H:109: error: expected ',' or '...' before '&' token This is the following line > void Amul > ( > FieldField<field,>& result, > const FieldField<field,>& x, > const PtrList<fieldfield<field,>scalar> >& bouCoeffs, > const lduInterfaceFieldPtrsListList& interfaces, *** <---line 109 *** > const direction cmpt > ) const; In 1.4.1-dev I find the lduInterfaceFieldPtrsListList defined in src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceField/lduInterfaceFiel dPtrsList.H as: > typedef List<lduinterfacefieldptrslist> lduInterfaceFieldPtrsListList; while this definition doesn't exist in release 1.5. Do I have to step through every small inconsistency between the two versions or is there some higher level compatibility patch? Maybe somebody has gone through these steps before? Regards, Olaf |
|
November 25, 2008, 08:00 |
Hello,
Retro-fitting it you
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Hello,
Retro-fitting it yourself would be a major pain. I have prepared a merged version 1.5-dev with all the capabilities you need, but I am still waiting for test loops and contributions from a University (you know who you are!) If you need it pre-release, please drop me a line and we'll talk about it. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 25, 2008, 08:15 |
Thank you very much for the re
|
#3 |
New Member
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
Thank you very much for the reply, Hrvoje!
Can you give a rough estimate when 1.5-dev will be tested? It's perfectly fine with me to develop early implementations with 1.4.1-dev. But in 1-2 months I'd need to find some possibility to merge the parts depending on coupledMatrix with other parts that I have already developed in 1.5. When announcing the merged version 1.5-dev, do you mean a new version of coupledMatrix alone, of of the whole 1.4.1-dev? Latter would be my greatest Christmas present :-) Regards, Olaf |
|
November 25, 2008, 08:36 |
Can't wait for this too
|
#4 |
Senior Member
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17 |
Can't wait for this too
|
|
November 25, 2008, 12:44 |
Hi All,
Is there any possib
|
#5 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 |
Hi All,
Is there any possibility to solve coupled PDE's directly (not using relaxation techniques) in OpenFoam. Can anyone give me a suggestion as to how to go about doing this. Kindly help. Regards Vishal Nandigana |
|
November 25, 2008, 12:57 |
Hi Vishal,
Openfoam is always
|
#6 |
New Member
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
Hi Vishal,
Openfoam is always using the segregated solution method, solving one variable and one vector component after the other. It is not possible to solve coupled PDEs directly. The coupledMatrix I have been asking about is not about coupled equations, but it takes care of spatially connected meshes. Regards, Olaf |
|
November 25, 2008, 13:50 |
Hi Olaf Fisher,
Thanks a lo
|
#7 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 |
Hi Olaf Fisher,
Thanks a lot for the reply. So the only way to solve coupled equations in OpenFoam is by using relaxation techniques. Vishal |
|
November 28, 2008, 06:29 |
Heya Olaf,
You are on my Ch
|
#8 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Heya Olaf,
You are on my Christmas list then. All of the functionality from 1.4.1-dev is available and tested + some more goodies not seen before. BTW, are you going to be in Berlin - shall we talk about it? Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 29, 2008, 08:36 |
Dear Hrvoje,
this is very goo
|
#9 |
New Member
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
Dear Hrvoje,
this is very good news. Also thank you for the kind offer to meet in Berlin, but I can't arrange a visit during the week. Regards, Olaf |
|
May 27, 2020, 10:40 |
|
#10 |
Member
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7 |
I know this is a very old post. I was wondering if there was an effective way to use coupledFvScalarMatrix on newer version of default Openfoam (7). As there has been limited discussion on this subject.
Thanks Sam |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forces in OF15 | richard | OpenFOAM Running, Solving & CFD | 180 | July 9, 2018 11:54 |
Fan type BC in OF15 | hsieh | OpenFOAM Running, Solving & CFD | 31 | July 30, 2015 13:22 |
Bug in patchIntegrateC OF15 | anger | OpenFOAM Bugs | 8 | May 29, 2009 05:36 |
Bug or a feature of OF15 | rafal | OpenFOAM Bugs | 5 | July 25, 2008 06:25 |
CoupledFvScalarMatrix in OpenFOAM141dev | oleg_weinstein | OpenFOAM Installation | 6 | December 13, 2007 14:16 |