File log at the end

Hi everybody!!!
There is a way to not create file log at the end of the running script??

Add the options -ns or -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).
Thank you!!!

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!!!
Best regards

May I ask how do you “implemented edp file Preformatted text in a python script?”

Thank you,
Yan

Hi!!
With these few lines:

import subprocess
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.
Best regards!!!

Thank you very much for your swift reply!

Do you write the result to temporal files, and use python to read it?

Thank you!

Yes!

  1. I use python script to write inputs (txt file);
  2. freefem edp reads inputs and solve the problem, creating output file
    (mesh points, elements, data values in a txt file);
  3. python script reads this output file to create plots;

Thank you very much!

Very helpful!