Page 1 of 1

BodyForce error for Heat Equation

Posted: 11 Feb 2023, 12:32
by catalineacsu
I have a simple case with a body force set at 300K and I get an weird error:

ERROR:: LoadInputFile:
ERROR:: LoadInputFile: Unknown specifier: [300]
ERROR:: LoadInputFile: In section: [body force 1]
ERROR:: LoadInputFile: For property name:[temperature]
Screenshot 2023-02-11 113116.png
What am I missing?

Regards,
Catalin

Re: BodyForce error for Heat Equation

Posted: 11 Feb 2023, 12:41
by kevinarden
Try
Real 300

That error is usually when Elmer does not know what variable type to use for a variable.

Re: BodyForce error for Heat Equation

Posted: 11 Feb 2023, 12:48
by catalineacsu
Yep, seems to be working with that. thank you

Re: BodyForce error for Heat Equation

Posted: 13 Feb 2023, 13:30
by uwestoehr
kevinarden wrote: 11 Feb 2023, 12:41 Try
Real 300
That error is usually when Elmer does not know what variable type to use for a variable.
@raback, I assume this is an easy fix, right?

Re: BodyForce error for Heat Equation

Posted: 13 Feb 2023, 14:05
by raback
Yes. We could also add

Code: Select all

bodyforce:real:temperature
to SOLVER.KEYWORDS.

-Peter

Re: BodyForce error for Heat Equation

Posted: 17 Mar 2023, 01:44
by uwestoehr
raback wrote: 13 Feb 2023, 14:05 Yes. We could also add

Code: Select all

bodyforce:real:temperature
to SOLVER.KEYWORDS.
Thanks. Please do so.

By the way, why don't I get any notification from the forum. I checked my settings and I enabled everything, but neither on my topics nor on threads where i posted, I get a notification email. Can anybody please have a look?
(Therefore please apologize my late reply.)