Comments (5)
Thanks @ProjectPhysX for your feedback.
The complete path where the images should be generated is: /home/iit.local/fdinatale/02.FluidX3D/FluidX3D/export/test_name/png
, where test_name
is a string composed by the date and time of the test itself.
Anyhow, I tried to give as input in both write_status
and lbm.write_frame
function the name of the files to be generated and now both the status file and the pictures are generated in /home/iit.local/fdinatale/02.FluidX3D/FluidX3D
.
from fluidx3d.
I think we can close this issue.
Thanks for your help @ProjectPhysX!
from fluidx3d.
Hi @fabiodinatale,
I can't reproduce this issue, neither on my Windows 10 system nor on my Linux system. I see the files forces.dat
, torques.dat
, the .png
images, and the status files correctly generated on both systems.
I suspect this to be an issue with an old g++
compiler version, which might not correctly support <filesystem>
. In this case, if the filesystem folder tree in which you want to write the files into is not present before writing files, C++ will not write the files at all. Which g++ --version
do you have installed? Try updating, to at least g++-9
.
Kind regards,
Moritz
from fluidx3d.
Hi @ProjectPhysX, first of all, thanks for the tests you performed and for your reply.
Running the command g++ --version
on the server, this is the result I get:
fdinatale@iitbmp014srv001:~$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
i.e. the system has the version 11.4.0
of g++
.
I also tried to run the code in a conda environment and in this case the compiler is the following one:
(fluidx3d) fdinatale@iitbmp014srv001:~$ g++ --version
g++ (conda-forge gcc 12.3.0-5) 12.3.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
so it is even newer.
Actually, I discovered that pictures and status
file are created but in my root directory. You can see them as they are the ones named 02.png
and 02.txt
respectively:
(fluidx3d) fdinatale@**********srv001:~$ ls -la
total 280
drwxr-xr-x 14 fdinatale domain users 4096 May 3 09:20 .
drwxr-xr-x 19 root root 4096 Nov 29 09:46 ..
drwxr-xr-x 3 fdinatale domain users 22 Apr 10 12:58 02.FluidX3D
-rw-r--r-- 1 fdinatale domain users 192494 Apr 29 15:27 02.png
-rw-r--r-- 1 fdinatale domain users 337 Apr 29 15:26 02.txt
-rw------- 1 fdinatale domain users 25585 May 3 08:58 .bash_history
-rw-r--r-- 1 fdinatale domain users 220 Oct 17 2023 .bash_logout
-rw-r--r-- 1 fdinatale domain users 4667 Apr 10 12:42 .bashrc
drwx------ 3 fdinatale domain users 59 Apr 10 12:46 .cache
drwxr-xr-x 2 fdinatale domain users 30 Apr 10 12:47 .conda
-rw-r--r-- 1 fdinatale domain users 52 Apr 10 12:43 .condarc
drwx------ 4 fdinatale domain users 70 Apr 19 15:29 .config
-rw-r--r-- 1 fdinatale domain users 7571 Apr 19 17:21 .cxlayout.ini
drwxr-xr-x 3 fdinatale domain users 27 Oct 20 2023 .local
drwxr-xr-x 19 fdinatale domain users 4096 Apr 10 12:52 miniforge3
drwx------ 3 fdinatale domain users 26 Oct 20 2023 .nv
-rw-r--r-- 1 fdinatale domain users 807 Jan 8 14:35 .profile
drwx------ 2 fdinatale domain users 60 Oct 20 2023 .ssh
-rw------- 1 fdinatale domain users 244 May 3 09:20 .Xauthority
I don't know if this information can help.
Thanks!
from fluidx3d.
The compiler is fine. Can you share your entire file path into which the images should be written, and is there any special characters in there? FluidX3D is doing some string manipulation on the file path, maybe this fails in your case.
from fluidx3d.
Related Issues (20)
- (Not an issue) - Porting to Perl and Python; first steps... making code a bit more standalone and general-purpose... HOT 1
- Wierdly behaving 3D objects / Meshes HOT 6
- Visualizing rho and u in Paraview HOT 3
- Less brittle Linux OpenCL setup instructions HOT 3
- No progress - stuck at Step 0 (benchmark works) HOT 2
- cannot find file "FluidX3D.exe" HOT 2
- Including the scale, frame-info, and copyright notice inside the output PNG files ? HOT 1
- INTERACTIVE_GRAPHICS_ASCII broken by the "Made camera movement/rotation/zoom behavior independent of framerate" feature? HOT 1
- Struct of Arrays vs Arrays of Structs: Possible Oversight? HOT 2
- Connection to flow5 possible?
- Order of pairs is non uniform between Lattice sets HOT 2
- Applying a force during simulation to simulate main line water pressure HOT 2
- NIT: No Volume Force in 2D Taylor Vortex HOT 1
- Unnecessary neighbor calculations
- Vibrating Lines HOT 13
- Issue with setting up inflow/outflow boundaries. The boundaries keep reflecting back.
- Does FluidX3D support multi-component calculations? HOT 2
- Conflicting declaration when compiling on 32 bit powerpc HOT 3
- Regarding passive tracer particles HOT 2
- undefined reference when trying to run interactive graphics in linux x11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluidx3d.