laplacianFoam
1 Attachment(s)
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 ? |
if i set inlet and outlet as cyclic will work ?
|
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 |
1 Attachment(s)
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 ? |
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 |
1 Attachment(s)
also for P and U
|
thanks a lot !
|
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 ? |
Hi Evangelos,
Sorry, but I'll have to be quick. Here are the steps I suggest that you follow:
Best regards, Bruno |
thanks a lot ! :)
|
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!! |
All times are GMT -4. The time now is 09:34. |