custom-field-function using text command
Hi,
I've got a problem with creating a custom-field-function using the text command. I want to use text command to wirte a *.jou file that does not require a GUI. but therefore i hve to understand the syntax to write the .jou file. So I start: (#enter# meens I press enter) define #enter# custom-field-functions #enter# define #enter# "name" #enter# heat-flux * ...... #enter# An then getting "Error Object: #f" If I just wirte "2*pressure" I don't get any error, why with "heat-flux" ??? Hope you can help me. Thanks in advance |
I'm afraid that's because of the operator '-' in the phrase 'heat-flux'.
|
Sorry I forgot to wirte the error line before "Error Object: #f"
So my output is: Error: Unknown calculator button heat Error: Object: #f I also tried "heat-flux" instead of heat-flux -> error unknown calculator "heat So how can I use heat-flux? |
Got the solution!
It is heat_flux. For other variable the same instead on '-' just '_' that's it |
that justified my suspicion.
i suggest you define a custom field function with GUI and save it, than open it with notepad to see if there any clew you can make use of. to say the least, you can load the saved one with text command, in fact, this was my practice. |
I got it when I saw the example x_Coordinate
|
thank you. my practice was so clumsy(^o^).
|
You could use
Code:
/define/custom-field-functions/list-valid-cell-function-names |
Life saver ;-) wasted so long trying to figure this out!! hehe
|
All times are GMT -4. The time now is 17:28. |