Error while using my solver
1 Attachment(s)
Dear All,
I have compiled a new solver (according to the standard name it should be named buoyantPimpleDyMFoam) and when I try to use it, I get this error: Code:
lab@lab-laptop:~/Documenti/cases_OF/OF_case19_closed_cabinet/baseBuoyant$ buoyantPimpleDyMFoam_SZ Thanks a lot, Samuele |
Your code is attempting to perform a subtraction operation between two fields of different units (Foam tracks the units of dimensioned fields on the fly). I believe there are details on the [x x x x x x x] format in the users guide. Looking at your error in particular, it appears that one of your fields has been divided by density while the other has not.
|
Dear Kyle,
thanks for answering. I am trying to find out which is the `wrong' line.. Isn't there a method to discover it? Also, do you have any experience/time to help me? Thanks, Samuele |
Quote:
http://www.cfd-online.com/Forums/ope...exception.html Its likely that other users have posted more thorough debugging guides on this forum if you search around. ~Kyle |
1 Attachment(s)
Dear Kyle,
thanks for help. Well, I think that I discovered which is the `key point'.. In the file correctPhi.H there are the following lines: Code:
while (pimple.correctNonOrthogonal()) Thanks a lot, Samuele PS: attached you can find the solver. Thanks! |
Do you have a small test case set up that I would be able to use?
I'm not sure that your issue is in flux correction code you posted. The error you recieved: Code:
--> FOAM FATAL ERROR: Different dimensions for -= dimensions : [1 0 -1 0 0 0 0] = [0 3 -1 0 0 0 0] |
Yes I have.
Could you give me your email and I'll send it to you? Write me at samuele.zampini@gmail.com and I'll get back to you, soon. Also, I am now developing a different solver (starting from sonicDyMFoam instead of pimpleDyMFoam), but I can not make the mesh move. Anyway, I'll write you soon and that would be easier, wouldn't it? Thanks, Samuele |
All times are GMT -4. The time now is 07:06. |