This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Physical unit in Fenics

–3 votes

When I planned to solved a real physical problem, I found there is not illustration about physical unit in the tutorial. Is it dimensionless? if not, how to specify the unit in the code, like meter or nanometer?

asked Jun 12, 2016 by sejabs FEniCS Novice (330 points)

2 Answers

0 votes

You have to convert your equation system to non-dimensional form.

answered Jun 13, 2016 by KristianE FEniCS Expert (12,900 points)
+1 vote

There is no need to write the unit. You only deal with numbers and assume a unit for them (you can mention the unit as comments in your code). What ever parameters you have, choose compatible/matching units for them and the numbers in your result shall follow your input units.

answered Jun 14, 2016 by Chaitanya_Raj_Goyal FEniCS User (4,150 points)

Although It is a not good problem, Thank you!

...