How to set a physical field in grid nodes and cells

Hello,
I just started learning ParaView so need your help.
I needed to create a 2D grid model and set the physical fields (temperature distribution, density, etc.) in the nodes and cells of this grid.
I created a grid (Sources -> Fast Uniform Grid).
I think that I should use ‘Add Field Arrays’ filter to add temperature values for each cell and node but I don’t understand how to create data array file with this values.
I will be grateful for any help!

Nope, this is not the way to go.

How do you want to specify the values, from files ? Which format ?
ParaView is not a meshing tools, so this may not be an easy task.

Hi @E.Gaubesh,

If you are using Python, and feel comfortable working in that environment, I could send you some basic python script that fills user-defined arrays (any size) and converts them into netcdf: easily readable in PV.

I have done something similar for a project I am working on.

Ciao

Hi,
Yes, I’m using Python.
Thank you for answer.
It would be nice if you could send them.

Oh, I think I understand what you mean.
Shall I use *.vtk file to run in PV? or something else?

Sent your per private message. Good luck.