There is a way to not create file log at the end of the running script??
Add the options
-v 0 to your command line?
Thank you, I’ll be more specific.
I have create an edp file for thermal problems of concrete section.
Because of Freefem native poor quality plot, I have implemented edp file
in a python script to create high quality plot.
Now, I need to know if there is a way to not create file log at the end,
maybe with a command directly in the freefem file (edp).
I don’t understand your question. If you want to create high-quality figures and animations, use ParaView, not Python, with the
savevtk plugin. Here is an example.
Thank you so much, for all the tips!!!
May I ask how do you “implemented edp file Preformatted text in a python script?”
With these few lines:
process = subprocess.Popen(‘FreeFem++ yourfile.edp -ns’, stdout=subprocess.PIPE, shell=True)
output, error = process.communicate()
you can call your freefem file (edp) and running it from the python script.
In my project, I use the python script for input values/plot results,
and edp freefem file as FEM solver.
Hope this can help you.
Thank you very much for your swift reply!
Do you write the result to temporal files, and use python to read it?
- I use python script to write inputs (txt file);
- freefem edp reads inputs and solve the problem, creating output file
(mesh points, elements, data values in a txt file);
- python script reads this output file to create plots;
Thank you very much!