Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello everyone,
I'm trying to program a 2D finite difference in time domain problem. However, I can't run the program, since the units do not seem to match. Has anyone an idea of how to disable these units or maybe could tell me what did I do wrong ? Because I don't know if I did mistakes in my program or if units stand as the only problem.
Thanks in advance !
Cyril
Look for example at your function k(). You are trying to add a dimensionless "d" and and expression with dimension temperature^2. That can't work.
d is just a coefficient imposed in the evolution of k with temperature, how could I defined it another way ?
You have to make unit balance. Put correct units into your constants:
Thank you, I'm new to Mathcad, I didn't know you could force units like this.
Concerning this, does the [] implies a matrix and is it a problem to unity balance ? (think it shouldn't but...)
All constants and variables must be dimensionless or all with dimension. You can not just size some. You can not name a variable in the program, with the same name as the program. (Delta T is defined as a constant, instead in the program you use it as an indexed variable)