External material data values

General discussion about Elmer
Post Reply
PierreAntonetti
Posts: 22
Joined: 06 Oct 2023, 14:31
Antispam: Yes

External material data values

Post by PierreAntonetti »

Hi,

Is it possible to externalize material data values (defined as tables in Elmer) into a file ?

The idea is to replace the following block :

Code: Select all

Material 1
    Name = "fiber"
	Heat Conductivity = Variable Temperature
	    Real
	    293.15    0.1
	    373.15    0.15
	    473.15    0.16
	    573.15    0.17
	    673.15    0.2
	    773.15    0.25
	    873.15    0.3
	    973.15    0.28
	    1072.15   0.25
	    1073.15   0.24
	    1473.15   0.21
	End
	...
by :

Code: Select all

Material 1
    Name = "fiber"
	Heat Conductivity = Variable Temperature
	File "fiber_conductivity.dat"
Best regards.
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

Re: External material data values

Post by Rich_B »

Hello,

Search elmerfem/fem/tests for the filename 'nothinline.sif'. This test uses 'Include' to include a data file.

Rich.
PierreAntonetti
Posts: 22
Joined: 06 Oct 2023, 14:31
Antispam: Yes

Re: External material data values

Post by PierreAntonetti »

Hi,

Great, that's works fine !

It seems to not working with an external MATC expression

Thanks.
Post Reply