How to use "file_socket" parameter in WebServerControl? (Any example inputs) #27975
-
|
Hi MOOSE developers, I want to use WebServerControl to make MOOSE communicate with my Open Modelica application for research purpose. I saw in the document that it's required to use either "port" parameter or "file_socket" parameter so the server can listen to the port. I looked into the example input files and none of them actually implemented any of them. I was wondering if anybody can teach me the general work flow of this? I was trying to follow the steps listed in https://mooseframework.inl.gov/python/MooseControl/index.html to get a taste of it. But I cannot seem to get it working since I don't know how to set my file_socket parameter. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Hello This is a very recent feature. Which version of moose (which commit) are you using? Guillaume |
Beta Was this translation helpful? Give feedback.
If you're using the MooseControl python object, you don't need to set the port or file socket. It's done for you internally by the script.
Within the MooseControl object, you specify the name of the WebServerControl object in your input file. It uses this name to take care of the port/file socket for you via a command line argument.