CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

REEF3D::CFD VTU output on segregated domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2023, 07:19
Default REEF3D::CFD VTU output on segregated domain [solved]
  #1
New Member
 
Jan M
Join Date: Nov 2020
Location: Kiel, Germany
Posts: 3
Rep Power: 6
smajens is on a distinguished road
First of all: Thanks a lot for creating and developing this very promising toolkit!

Context:
I am trying to simulate the wave impact on a sandbank located within a fjord (baltic sea) and I am planning to include sediment transport in the future.
As the waves are comparably short (~25m) compared to the maximum depth (~18.5m), I want to simulate the case in a coupled manner with a segregated domain with FNPF in the farfield and CFD in the near field in order to minimize the computational time. So far so good - the respective case files are attached (I am running REEF3D 23.08.).

Issue:
When trying to postprocess the CFD results in ParaView, I get the error message
Code:
ERROR: In vtkXMLPDataReader.cxx, line 320
vtkXMLPUnstructuredGridReader (0x169ab150): File for piece 1 cannot be read.
when trying to load the .pvtu files.

After further inspection, I found a somewhat counterintuitive structure within the REEF3D_CFD_VTU folder. While the .pvtu files look okay, and contain a list of files REEF3D-CFD-$TIMESTAMP-[00001 - 00512].vtu just as expected, just a fraction of this files does actually exist. However, a large number of .vtu files with a timestamp not correlating to any .pvtu file are generated.
The sum of .vtu files per partition is equal to the sum of .pvtu files, which leads me to the conclusion that there is an issue with the naming of the .vtu files for cases on a segregated domain.

Maybe I just missed something, I would be glad for any input.

Best
Jan




P.S.: the attached image shows the partitions of the FNPF and CFD case as well as the geo points to give a better understanding of the case

P.P.S.: Trying to mesh the cfd case with less partitions than the FNPF case (although being a segregated mesh) gave me
Code:
HDC read/write
HDC I/O iter: 10   simtime: 600.003
Segmentation fault (core dumped)
when running DiveMesh, maybe this is another issue worth looking into for a future release


edit:
After playing around with a similar case for quite some time I found the problem in my setup. Within my ctrl.txt (CFD) I had the I 40 option activated (initialization from state file).
Apparently this overrules the HDC and it seems like a reference timestep / iteration for the output of vtu / vtp files gets lost as well (there is no cfd state file to initialize from).

Deactivating this option seems to solve my initial problem.
Attached Images
File Type: png PartitionPreview.png (174.5 KB, 24 views)
Attached Files
File Type: txt caseFilesCombined.txt (4.8 KB, 6 views)

Last edited by smajens; November 6, 2023 at 11:23. Reason: Solved the initial problem
smajens is offline   Reply With Quote

Old   November 30, 2023, 06:51
Default
  #2
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Just wondering: everything working now?

Which part of the Baltic are you trying to model?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   November 30, 2023, 07:28
Default
  #3
New Member
 
Jan M
Join Date: Nov 2020
Location: Kiel, Germany
Posts: 3
Rep Power: 6
smajens is on a distinguished road
Thanks for taking the time to answer.
Although I am still struggling a bit with the HDC, the VTU output issue was resolved after realizing that enabling I 40 leads to REEF3D::CFD looking for CFD state files (which are of cause not availiable) and overwriting (?) the HDC. This apparently caused something like a missing write time reference leading to the described problem.
Regarding my issues with HDC, I am meeting with Widar tomorrow.
I am researching an area within the Kiel bight.


Best Jan
smajens is offline   Reply With Quote

Old   November 30, 2023, 08:13
Default
  #4
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Ah, ok. I will be there as well, see you tomorrow.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Reply

Tags
coupled, paraview


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX - specified domain intialization qntldoql CFX 4 September 28, 2020 10:28
How to write output only for cellset and not entire domain! TomWaits OpenFOAM Programming & Development 2 August 26, 2020 11:28
Can CFX model periodic heat transfer problem Ethan_Sparkle CFX 41 June 14, 2017 08:22
Sudden increase the residual of Maxwell's equations hsezsz CFX 2 October 13, 2016 07:58
Proper output of angle of attack in CFX post Kevin CFX 3 October 18, 2006 13:18


All times are GMT -4. The time now is 10:46.