ff3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ff3d-users] Code to solve Fick's law, what's wrong??!!


From: Arun Viswanathan
Subject: Re: [ff3d-users] Code to solve Fick's law, what's wrong??!!
Date: Wed, 19 May 2004 21:45:12 -0700 (PDT)

Hey Stephane, 
I tried using "cout" in my code, but I get a syntax
error: "<<" unexpected. I am using Fem3D version 1.0
pre4, does this not support "cout"?? Also, the
documentation that I have is a 48 page documentation
for version 1.0-pre2 dated March 15th, 2004. This does
not say anything about usage of "cout" and similar
features. Is there any newer updated manual available?
I searched the net but got nothing newer. 

I would also like to learn more about what the "solve"
section exactly does, what exactly is PCG, GCG, etc. I
want to understand this section well so that I would
know how to customize it to serve my purpose. I would
be really glad to read more detailed documentation on
the specific tasks of the solver, if there is any such
documentation available? Or would you be able to
suggest any material/books that I could refer to, in
order to learn more about the solver?! 

Thank you. Best regards,
Arun.

--- Stephane Del Pino <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello!
> 
> Le mardi 18 Mai 2004 23:29, Arun Viswanathan a
> écrit :
> > Hi, I finally got dx to work,
> Nice!
> 
> > but when I try to view the p1.dat file, I get a
> bunch of errors....
> >
> > 1. 'Warning' window that says 'Socket bufsize
> > mismatch: rcv buffer (262144 131070)'
> > 2. 'Warning<2>' window that says 'Socket bufsize
> > mismatch: send buffer (262144 131070)'
> > 3. 'Message Window' window that says 'ERROR:
> Import:
> > internal error: unspecified error in import'
> 
> These are dx related errors, you should ask them to
> the dx users mailing
> lists.
> In my opinion, the simplest way to postprocess your
> data is to use medit
>       http://www-rocq1.inria.fr/gamma/medit/medit.html
> it is not a free software but you can download it
> for free.
> 
> > > 1. C0 is declared as a function C0 = x*y*z (and
> > > assigned to C in every iteration), does this
> mean
> > > that
> > > I am solving for C in 3 dimensions?
> Yes. Basically ff3d does only solve 3D problems!
> 
> > > 2. Since I don't have a specific scene, I have
> > > created
> > > an empty file called 'void.pov' and assigned
> that to
> > > the scene. Is this necessary at all?
> No. The scene is only used to generate a domain. But
> you do not have any of
> it, so just forget the 'void.pov' file. This was an
> old syntax that is no
> more needed
> 
> > > 3. Where is my result, solution? How do I get to
> see
> > > what the concentration (C) is? I tried printing
> out
> > > C
> > > at  every iteration, but it seems like 'printf'
> is
> > > not
> > > accepted in fem3d!!
> You have to use a C++ syntax-like:
> cout << somthing << "\n";
> This is one of the feature that is documented, so
> please look in the manual
> for more details.
> 
> > > 4. Finally, in the output, what is 'pcg', 'gcg',
> > > etc?
> To solve the obtained linear systems, a Precondition
> Conjugate Gradient (PCG)
> is used. To show that this algorythm converges to
> the solution the norm of
> the residual (gcg) is printed to the screen.
> 
> Best regards,
> Stephane.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
>
iD8DBQFAq3KzbZyhKhZwdc0RAiCTAKCpobNoTDjnFhMQG9IHXaZqjpecAQCdGB0Y
> v+bZMVrXX3o0DSNItDJ+bEY=
> =56Kk
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> ff3d-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/ff3d-users



        
                
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]