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

New Solver for a modified pUCoupledFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2016, 06:14
Default New Solver for a modified pUCoupledFoam
  #1
New Member
 
Nelly El Achkar
Join Date: May 2016
Location: Germany
Posts: 10
Rep Power: 9
noiseMaker is on a distinguished road
Hello ,

As part of my master thesis I am suppose to modify pUCoupledFoam in a way so that the matrix can be solved with an LU-SGS solver. However, when I try to run a case (pitzDaily) with what I have done (modified pUCoupledFoam where the matrix is solver by myDummy, the LU-SGS solver), I always get this error:

--> FOAM FATAL IO ERROR:
Unknown asymmetric matrix solver myDummy


"Valid asymmetric matrix solvers are :

4
(
AMG
BiCGStab
GMRES
GaussSeidel
)


file: /home/nelly/Desktop/pitzDaily/system/fvSolution::solvers::Up from line 21 to line 28.

From function BlockLduSolver<Type>::New
(
const word& solverName,
const word& fieldName,
BlockLduMatrix<Type>& matrix,
const dictionary& dict
)
in file /opt/foam/foam-extend-3.2/src/foam/lnInclude/BlockLduSolver.C at line 245.
"



even though the source file reads:
namespace Foam
{
#define makeSolver(type, Type, args...) \
typedef myDummySolver<type> block##Type##myDummySolver; \
makeBlockSolverTypeName(block##Type##myDummy); \
addSolverToBlockMatrix(Type, block##Type##myDummySolver, symMatrix); \
addSolverToBlockMatrix(Type, block##Type##myDummySolver, asymMatrix); \

// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

makeBlockSolvers(myDummy);

// BiCGStab as a symmetric solver: use where the diagonal coefficient block
// is assymetric. HJ, 24/Jan/2008

addSymSolverToBlockMatrix(myDummy);

addAsymSolverToBlockMatrix(myDummy);

//-makeBlockSolvers(blockAmgSolver);
//+// Excluded tensor: needs reduced version. HJ, 28/May/2014


makeBlockSolverTypeName(myDummyScalar);
makeBlockSolverTypeName(myDummyVector);

addSolverToBlockMatrix(Scalar, myDummyScalar, symMatrix);
addSolverToBlockMatrix(Vector, myDummyVector, symMatrix);

addSolverToBlockMatrix(Scalar, myDummyScalar, asymMatrix);
addSolverToBlockMatrix(Vector, myDummyVector, asymMatrix);




Does anybody have clue?

Thanks

Noisemaker
noiseMaker is offline   Reply With Quote

Reply


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
Population Balance Modeling (PBM) - Ansys Fluent chittipo FLUENT 164 November 18, 2023 11:54
EMMS drag model UDF NAD Fluent UDF and Scheme Programming 26 November 19, 2017 07:49
compiling error(s) in a modified twoPhaseEulerFoam solver foamer OpenFOAM 14 June 20, 2014 08:51
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


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