BodyForce error for Heat Equation

Clearly defined bug reports and their fixes
Post Reply
catalineacsu
Posts: 12
Joined: 10 Feb 2023, 21:27
Antispam: Yes

BodyForce error for Heat Equation

Post 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
Attachments
Screenshot 2023-02-11 113116.png
Screenshot 2023-02-11 113116.png (12.36 KiB) Viewed 1267 times
kevinarden
Posts: 2317
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: BodyForce error for Heat Equation

Post by kevinarden »

Try
Real 300

That error is usually when Elmer does not know what variable type to use for a variable.
catalineacsu
Posts: 12
Joined: 10 Feb 2023, 21:27
Antispam: Yes

Re: BodyForce error for Heat Equation

Post by catalineacsu »

Yep, seems to be working with that. thank you
uwestoehr
Posts: 38
Joined: 05 Aug 2022, 14:42
Antispam: Yes

Re: BodyForce error for Heat Equation

Post 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?
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: BodyForce error for Heat Equation

Post by raback »

Yes. We could also add

Code: Select all

bodyforce:real:temperature
to SOLVER.KEYWORDS.

-Peter
uwestoehr
Posts: 38
Joined: 05 Aug 2022, 14:42
Antispam: Yes

Re: BodyForce error for Heat Equation

Post 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.)
Post Reply