Help to implement a new code to cure kinetics
3 Attachment(s)
Hi foamers!
I'm modifying the code of laplacianFoam to calculate the cure kinetics, but I have problems to get it. I believe that the problem is that I unknow how openFoam solve the ecuations. If someone could help me, I would appreciate it. I attached the 3 archives I have modified. Thanks a lot!! 
Quote:

The error displayed is
> FOAM FATAL ERROR: incompatible fields for operation [T]  [curedegree] I believe the error appears because I'm solving one equation with two variables. Some ideas?? 
If your assumption is correct, it should be solved by using:
Code:
fvm::ddt(T)  fvm::laplacian(DT, T)  fvc::ddt(DC, curedegree) 
thanks Anton
now it runs and calculate correctly de temperature field, but it doesn´t solve the curedegree (the initial and final residual of all steps 0 and the number of iteracion in each step is 0). It seems that ignore the cure kinetics terms and solve like the laplacianFoam. 
Looks like your degree eqn has the form
ddt(curedegree)  N(cureDegree,T) = 0, where N is a nonlinear function. Maybe some linearizing is required? 
Hi Helmut
I linearized the equation N(curedegree,T) and run, but doesn't solve the curedegree, only solve the temperature field. 
All times are GMT 4. The time now is 13:14. 