|
[Sponsors] |
June 9, 2013, 18:21 |
laplacianFoam
|
#1 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14 |
Hello !
I made the following geometry and now i want to calculate the entropy production. i want to set periodic boundaries at left, right i make the geometry with desighmodeler and then i convert to openFoam using fluentMeshToFoam *.msh i set the left boundary as inlet and the right as outlet . Next step ? Last edited by Danath; June 10, 2013 at 12:53. |
|
June 10, 2013, 12:54 |
|
#2 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14 |
if i set inlet and outlet as cyclic will work ?
|
|
June 10, 2013, 13:50 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Evangelos,
Uhm... "entropy production"? I don't think you can do entropy calculations with just laplacianFoam... it's a very basic "temperature transport" solver, so there aren't any specific material properties in it. Unless you want to calculate entropy purely based on temperature!? If so, do you have an equation to solve this relation between temperature and entropy? As for the periodic boundaries, it depends on the exact nature of what you want to do. Because "Cyclic" boundaries are usually just cyclic: they sort-of enable matter teleportation from one patch to the other. If you provide a bit more description of the kind of simulation you want to perform, it'll be easier for people to help you. Best regards, Bruno
__________________
|
|
June 10, 2013, 14:55 |
|
#4 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14 |
Hello !
Forget entropy production and laplacianFoam At first i want to make periodic boundaries for inlet and outlet so i modify boundary,P and U (see pixtures) but when i try to run for example icofoam i find errors Create time Create mesh for time = 0 Reading transportProperties Reading field p Reading field U --> FOAM FATAL IO ERROR: Cannot find patchField entry for cyclic symmetry1 Is your field uptodate with split cyclics? Run foamUpgradeCyclics to convert mesh and fields to split cyclics. file: /home/danath/OpenFOAM/danath-2.1.0/run/tutorials/test/0/U::boundaryField from line 25 to line 40. From function GeometricField<Type, PatchField, GeoMesh>:: GeometricBoundaryField::GeometricBoundaryField ( const BoundaryMesh&, const DimensionedField<Type, GeoMesh>&, const dictionary& ) in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 271. FOAM exiting When i type foamUpgradeCyclics Create time Reading boundary from "/home/danath/OpenFOAM/danath-2.1.0/run/tutorials/test/constant/polyMesh/boundary" Detected 0 old cyclics. No changes made to boundary file. Time: 0 Loading field p No changes made to field p Loading field U No changes made to field U what should i do ? i am very confused ? |
|
June 10, 2013, 15:00 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Evangelos,
Instead of editing the "boundary" file directly, use createPatch instead: http://openfoamwiki.net/index.php/CreatePatch - you should find some more ideas on this topic on that page. Best regards, Bruno
__________________
|
|
June 10, 2013, 15:03 |
|
#6 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14 |
also for P and U
|
|
June 10, 2013, 15:04 |
|
#7 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14 |
thanks a lot !
|
|
June 14, 2013, 06:07 |
|
#8 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14 |
Hello ! Finally i create periodic boundaries
I figured the diffusion and now i want to calculate the entropy production . I have the equation ! can somebody help me ? |
|
June 16, 2013, 12:09 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Evangelos,
Sorry, but I'll have to be quick. Here are the steps I suggest that you follow:
Best regards, Bruno
__________________
|
|
June 17, 2013, 04:56 |
|
#10 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14 |
thanks a lot !
|
|
July 14, 2013, 08:00 |
|
#11 |
Member
Join Date: Jun 2011
Posts: 80
Rep Power: 14 |
Hi there!!
I am interested in modifying the laplacianFoam application. Once done the tutorials recommended, I would like to create my application to solve the laplace's equation in a domain (laplacian (phi) = 0). How I should proceed?? I have noticed the laplacian function in laplacianFoam.C has 2 inputs and I have just one scalar function, phi. Thanks a lot!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
laplacianFoam run-time error | industrial0503 | OpenFOAM Running, Solving & CFD | 2 | June 6, 2012 14:16 |
Add temperature-varying diffusivity in laplacianFoam | tianyikillua | OpenFOAM Running, Solving & CFD | 0 | March 28, 2012 17:00 |
Serious error in calculating gradT (laplacianFoam) | doubtsincfd | OpenFOAM Bugs | 1 | December 30, 2011 02:56 |
create own case for laplacianFoam | rahulrp | OpenFOAM Pre-Processing | 6 | April 8, 2010 00:03 |
laplacianfoam with solidification | dakos | OpenFOAM | 1 | November 14, 2009 06:15 |