|
[Sponsors] |
How to use DimensionedField in 141 like in 15 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 22, 2008, 11:36 |
Hi everyone.
i am sorry for i
|
#1 |
Senior Member
|
Hi everyone.
i am sorry for i still cannot run the openfoam 1.5 on the school`s cluster,but i am interested in solver of simpleSRFFoam in 1.5,so i tried to make it run in the 1.4.1,althoungh i have change the turbulence model and operater relative.still have the problem that,SRF->Su() return a DimensiondField<foam::vector,foam::volmesh> in 1.5 which is inherant from DimensiondField.but there is no such inherance in 1.4.1. so there will be some building error like: /var/software/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvMatrix.C: In function Foam::tmp<foam::fvmatrix<type> > Foam::operator+(const Foam::tmp<foam::fvmatrix<type> >&, const Foam::tmp<foam::dimensionedfield<type,> >&) [with Type = Foam::Vector<double>]: simpleSRFFoam.C:72: instantiated from here /var/software/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvMatrix.C:1345 : error: no matching function for call to checkMethod(const Foam::fvMatrix<foam::vector<double> >&, const Foam::tmp<foam::dimensionedfield<foam::vector<doub le>, Foam::volMesh> >&, const char [2]) /var/software/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvMatrix.C:1347 : error: const class Foam::tmp<foam::dimensionedfield<foam::vector<doub le>, Foam::volMesh> > has no member named field /var/software/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvMatrix.C:1347 : error: const class Foam::tmp<foam::dimensionedfield<foam::vector<doub le>, Foam::volMesh> > has no member named mesh make: *** [Make/linuxGccDPOpt/simpleSRFFoam.o] Error 1 how can i go on with migrating simpleSRFFoam from 1.5 to 1.4? is there anyone can help me ? wayne |
|
March 23, 2016, 03:53 |
|
#2 |
New Member
QuocThien
Join Date: Apr 2013
Posts: 16
Rep Power: 13 |
i think the solution is
volVectorFiled:imensionedField |
|
|
|