|
[Sponsors] |
December 6, 2022, 10:32 |
How to use patchBC in SFLOW
|
#1 |
New Member
Maria Francisca Sarmento
Join Date: Dec 2022
Posts: 3
Rep Power: 3 |
Hello,
I'm trying to simulate a river flow for that I am first trying to understand how the patch bc tool works by trying to simulate a river with an inflow and outflow in a simple parallelepiped. I don't understand why the simulation result doesn't show any kind of flow, am I missing something? I have attached the files ctrl.txt and control.txt, if someone can help me I would appreciate it regards |
|
December 7, 2022, 09:04 |
|
#2 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
For each B 441 command you issue there should be a unique integer as ID, which define the desired property for that patch box.
Refer to commands B 411-417. You have issued one B 411 1 0.2 for discharge related to patch 1. For patch 2, there is no corresponding B411-417 command with ID 2 and the flow property desired. You have a B 414 20, which is incomplete (2 values needed for this command), so reef3d will stop at read ctrl and not execute. Be careful defining the patch boxes they need to align with a solid boundary ( it seems like it does in your case, but please do double check)
__________________
Arun X years with REEF3D |
|
April 26, 2023, 12:40 |
|
#3 |
New Member
Maria Francisca Sarmento
Join Date: Dec 2022
Posts: 3
Rep Power: 3 |
Hi Arun!
Thank you for the quick response and sorry for the late asnwer! Even with your indications and by adding other patchBC conditions (B 411-B 417), the domain still does not demonstrate any kind of flow. Any idea what might be missing ? I attach the new documents control.txt and ctrl.txt Thank you very much for your help! |
|
April 28, 2023, 03:35 |
|
#4 |
Member
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 88
Rep Power: 6 |
Hey,
I have not yet tried patchBC in Sflow. There is a good thread about patchBC with examples already in the forum. Have you looked at that already to find the error in your setup? Cheers Last edited by Felix_Sp; April 28, 2023 at 13:53. |
|
April 28, 2023, 13:46 |
|
#5 |
New Member
Maria Francisca Sarmento
Join Date: Dec 2022
Posts: 3
Rep Power: 3 |
Hi Felix!
Thank you for your quick reply! There isn't any thread for patchBC in SFLOW, only on CFD.So I'll have to run my simulations in CFD. I've manage to run a thread example of patchBC in CFD (How to use PatchBC from IADInocencio) and it worked only for inflow not for outflow. What I need to simulate is an inflow with a given discharge on one surfside of a rectangular domain and an outflow with the same discharge on the opposite surfside. Would you be able to help me please? Regards, |
|
May 9, 2023, 03:53 |
|
#6 |
Member
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 88
Rep Power: 6 |
Hey
sorry I was on vacation. I have here an example on the basis of the thread I provided that gives inflow on surfside 1 and outflow on any other side. The circular option (B442) do only work for the minimum coordinates i.e. x,y,z = 0. I do not know why they do not work for the maximum domain coordinates (I guess some bug?). However, the rectangular ones work for all options besides the top surf side. I guess REEF3D does not like it, that the domain is completely filling up with water. This should give you a start. Maybe this does also work for SFLOW. I do really have not as much experience with SFLOW though. Cheers |
|
Tags |
patchbc, reef3d, sflow |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
REEF3D SFLOW : (21.11) vs (22.04) break in flow domain around the solid | Firoj Shaik | REEF3D | 2 | September 9, 2022 13:46 |
How to use PatchBC | NiMinic | REEF3D | 22 | March 28, 2022 07:40 |
Breaking Waves in REEF3D SFLOW, A 246 vs A 248 | pjoynt | REEF3D | 3 | March 22, 2022 07:22 |
Unable to Run the SFLOW Tutorial in the Manual | MGYBY | REEF3D | 7 | June 26, 2021 12:56 |
Reef3d 21.05 | valgrinda | REEF3D News & Announcements | 0 | June 1, 2021 16:42 |