CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

CoupledFvScalarMatrix in OF15

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2008, 06:15
Default Hello, I am trying to use the
  #1
New Member
 
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17
fisher is on a distinguished road
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
fisher is offline   Reply With Quote

Old   November 25, 2008, 08:00
Default Hello, Retro-fitting it you
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33
hjasak will become famous soon enough
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
hjasak is offline   Reply With Quote

Old   November 25, 2008, 08:15
Default Thank you very much for the re
  #3
New Member
 
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17
fisher is on a distinguished road
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
fisher is offline   Reply With Quote

Old   November 25, 2008, 08:36
Default Can't wait for this too
  #4
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17
johndeas is on a distinguished road
Can't wait for this too
johndeas is offline   Reply With Quote

Old   November 25, 2008, 12:44
Default 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
nandiganavishal is on a distinguished road
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
nandiganavishal is offline   Reply With Quote

Old   November 25, 2008, 12:57
Default Hi Vishal, Openfoam is always
  #6
New Member
 
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17
fisher is on a distinguished road
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
fisher is offline   Reply With Quote

Old   November 25, 2008, 13:50
Default 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
nandiganavishal is on a distinguished road
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
nandiganavishal is offline   Reply With Quote

Old   November 28, 2008, 06:29
Default Heya Olaf, You are on my Ch
  #8
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33
hjasak will become famous soon enough
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
hjasak is offline   Reply With Quote

Old   November 29, 2008, 08:36
Default Dear Hrvoje, this is very goo
  #9
New Member
 
Olaf Fisher
Join Date: Mar 2009
Posts: 7
Rep Power: 17
fisher is on a distinguished road
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
fisher is offline   Reply With Quote

Old   May 27, 2020, 10:40
Default
  #10
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 6
saj216 is on a distinguished road
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
saj216 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


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


All times are GMT -4. The time now is 02:09.