Dear all,
I want to set a property that varies over time (such as density) by Curve, but how should I set “curve_name_coords</independent variable>” (Independent variable needs to point to Time)? It seems that “curve_name_coords” is not present in Curve struct block and OGS cannot recognize the variable “Time”.
error: The variable name 'time' does not correspond to any known variable
I have tried using the <type>Parameter</type> method and then setting the Curve in the Parameter block. Although it can run successfully, the actual propoerty will not change over time
Dear Chelh
Thank you very much for your patient reply. I would like to express my sincerest gratitude to you.
Unfortunately, I have tried both of the methods you proposed and have failed. The first method will be displayed error: The variable name 't' does not correspond to any known variable . Although the second method (fall back to a parameter) can run successfully, the material property dose not change over time.
You’re right. Thank you so much for your help! I truly appreciate your support and the time you took to assist me.
I used 6.5.3 before. After upgrading to 6.5.5, OGS successfully recognized <independent variable>t</independent variable>.
But I found that the material parameters still do not change over time. Is this method applicable to all material properties of all Process? I tested longitudinal_dispersivity in ComponentTransport.
After testing, longitudinal_dispersivity at all times is equal to 0. Even if <values> y(x_1) y(x_2) ... y(x_n) </values> are changed (such as ‘0.5 0.0’ or ‘0.5 0.5’) , the result will not change.
Got it. Perhaps I should dive deeper into learning the development of OGS source code and contribute to the OGS community just like you. Thank you so much for your patient guidance and invaluable help these past few days. I have truly benefited a lot!