Hi Mohammad,

this is indeed is a hard to spot but very easy to fix bug:


You are missing a closing bracket } at the end of your properties section in your problem file in order to close the namespace Properties.

Just place } e.g., in line 84 in problem.hh.


Best wishes
Kilian



Am 14.09.20 um 21:17 schrieb MOHAMMADREZA KARAMI:
​Hi
I want to model coupled 2pncmin porous and stokesnc free flow.(salinity problem in porous media) Initially, I attempted to model free flow without coupling.(we have 3 component air,h2o,salt) For doing so, I used densitydriven test folder and changed for my desired model.
After making my free flow model,I faced an strange error:
*/home/mrk2/Desktop/DUMUX/DUMUX/dumux/test/freeflow/navierstokesnc/densitydrivenflow/main.cc:101:12: error: invalid use of incomplete type ‘using element_type = class Dumux::DensityDrivenFlowProblem<Dumux::Properties::TTag::StokesZeroEq>’ {aka ‘class Dumux::DensityDrivenFlowProblem<Dumux::Properties::TTag::StokesZeroEq>’}
  101 |     problem->applyInitialSolution(x);
      |            ^~
*I can't find my mistake.
for better realization,I attach this simple free flow example.
can anyone help me?

best regard,
Mohammad
--
This email was Anti Virus checked by  Security Gateway.

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Kilian Weishaupt M.Sc.
Institut für Wasser- und Umweltsystemmodellierung (IWS)
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Universität Stuttgart, Pfaffenwaldring 61, 70569 Stuttgart
Email: [email protected]
Telefon: 0049 711 685-60461 ** fax: 0049-711-685-60430
http://www.hydrosys.uni-stuttgart.de
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to