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

OpenFOAM v1812- Simulate a case with the two different fluids.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2019, 10:12
Default OpenFOAM v1812- Simulate a case with the two different fluids.
  #1
New Member
 
Akanksha Rawat
Join Date: Apr 2014
Posts: 29
Rep Power: 12
Akanksha90 is on a distinguished road
Hello,

Can anyone tell me how can I assign the different fluid properties to my case? I have a simple geometry in Y form and i would like to simulate this case with gas and air entering from each of the entrances respectively. I do not consider the reaction taking place between them.

Thanks
Akanksha90 is offline   Reply With Quote

Old   June 4, 2019, 04:43
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

As they are both gasses, you could use the reactingFoam family of solvers, but switch of the reactions. This will solve for the mixing. If buoyancy is important you probably want to use a buoyant variant.

Hope this helps,
Regards,
Tom
tomf is offline   Reply With Quote

Old   June 5, 2019, 04:25
Default
  #3
New Member
 
Akanksha Rawat
Join Date: Apr 2014
Posts: 29
Rep Power: 12
Akanksha90 is on a distinguished road
Dear Tomf,

Thank you for your Response. I tried using the DLR_A_LTS tutorial solver for my case and modified the boundaries in 0 Directory as well. But i have some error coming up which i am not able to understand.

Selecting chemistryReader foamChemistryReader
--> FOAM Warning :
From function const Foam::HashTable<Foam::List<int> >& Foam:: polyBoundaryMesh::groupPatchIDs() const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 507
Removed patchGroup 'symmetry' which clashes with patch 4 of the same name.


Could you please tell me what is wrong? My geometry is halved and it has symmetry boundary.
Akanksha90 is offline   Reply With Quote

Old   June 5, 2019, 04:44
Default
  #4
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Dear Akanksha,
The warning message explains that:
At some point the patchGroup 'symmetry' was defined (look in constant/polyMesh/boundary), but there is also a patch 'symmetry'. This may cause problems as the name 'symmetry' references two different parts of the mesh. I would suggest renaming the 'symmetry' patch as 'sym' in constant/polyMesh/boundary and you should not have this warning anymore.

However as it is 'just' a warning, it should not stop the simulation from running.

Regards,
Tom
tomf is offline   Reply With Quote

Old   June 5, 2019, 04:59
Default
  #5
New Member
 
Akanksha Rawat
Join Date: Apr 2014
Posts: 29
Rep Power: 12
Akanksha90 is on a distinguished road
Dear Tom,

Well you are Right, i tried to Change the Name of the symmetry patch but it is not running at all. It Exits after the command -

Selecting chemistryReader foamChemistryReader

Does this mean, I have a Problem with the Chemistry Option or? I aologize for such Question, since I am at the very beginning of using this Software.
Akanksha90 is offline   Reply With Quote

Old   June 5, 2019, 07:26
Default More information is needed
  #6
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Dear Akanksha,

Unfortunately I cannot answer your question as there is not enough information to work from.This thread explains a bit what is necessary.

I am also not necessarily an expert on this particular solver, but maybe I could give some pointers when there is enough information.

Regards,
Tom
tomf is offline   Reply With Quote

Reply


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
[Tutorials] How to prepare a case for OpenFOAM (for beginners) taalf OpenFOAM Community Contributions 1 November 6, 2022 01:22
[Commercial meshers] OpenFoam Mesh to Fluent Mesh in parallel case DominicTNC OpenFOAM Meshing & Mesh Conversion 3 November 22, 2017 09:19
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 05:06.