Skip to content

Re: Uploading data

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics Uploading data Re: Uploading data

#2937
mlm
Participant

Hello kolotinsky,
you can use the already existing vti reader in src/io/vtiReader.h for your purpose to load the data into your external field:
“The VTI reader is able to read from VTI files and create and fill corresponding data structures. The reading process starts with the construction of the reader object. The name of the data type to be read (e.g. “physVelocity”) is mandatory.”