Concentration depth profiles as input/output

Is it possible to input a D concentration depth profile? Is it possible to output the D concentration depth profile?

Yes it is possible to have a concentration profile as input for an initial condition.

Consider this example

It is also possible to export a concentration profile (more generally any field, in 1D or even 2D) by either using TXTExport (1D only) or XDMFExport.

See the documentation for more info