Hi thanks for the help and sorry for not give more details. When i used the function SourceAtPos , the problem can compile without problem but when I run the file It cant converge.
The describing area is inside the grid and they are nodes inside because dx=0.4 m and dy=0.4 m and iam using now a subarea of 1x1m to put the source term. What can i do to get convergence? i have tried with differents timesteps. Thanks Gerardo 2014-02-12 9:19 GMT+01:00 Christoph GrĂ¼ninger < [email protected]>: > Hi Gerardo, > "does not work" is kind of an useless problem description. What do you > expect? What happens actually? > > Having a look into my crystal ball unveils the following hint: > > - Adding a std::cout to your function to proof that it is actually > evaluated. > - Your grid must match the conditions. It must be fine enough that some > nodes are inside the described area and that this area is inside the > grid. Please double check. Maybe a std::cout inside the first case would > be helpful, too. > - Have a look at the resulting linear system, especially the right hand > side. Does your source term have an effect? > > Bye > Christoph > > -- > ... as Sir Cyril Hinshelwood has observed ...fluid dynamicists > were divided into hydraulic engineers who observed things that > could not be explained and mathematicians who explained things > that could not be observed. -- James Lighthill > ********************************************* > CMWR 2014: 10th - 13th June 2014 in Stuttgart > Please visit www.cmwr14.de > ********************************************* > _______________________________________________ > Dumux mailing list > [email protected] > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux > -- Gerardo Zegers R 89850305
_______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
