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

Wierd results after running setFields without getting an error in terminal

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By simrego

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2021, 21:11
Exclamation Wierd results after running setFields without getting an error in terminal
  #1
Member
 
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6
vava10 is on a distinguished road
Hey everyone,

I am trying to create my own case wich involve VOF method. I apply setFields and I don't get any error in the Ubuntu terminal. But when I open the alpha.water file which is formed after running the setFields, it doesn't have 0 and 1. Instead, it has "?", "ð?" and blank space. I have attached the file along with this. I went through a lot of errors related to setFields which was posted in this forum and couldn't find any similar to this and I don't know why I get such an alpha.water file after running setFields. So I could not search for a specific error

alpha.water.txt


Does anyone have any idea why I get this error?
Thank you in advance

Kind regards
vava10
vava10 is offline   Reply With Quote

Old   January 14, 2021, 09:43
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


What is your setting for the "writeFormat" in system/controlDict? If it is binary then this is totally normal. If it is ascii then there are some serious problems...
BTW: This is not an error. If there is an error, OF will tell you with nice big ERROR messages.
vava10 likes this.
simrego is offline   Reply With Quote

Old   January 15, 2021, 11:48
Default
  #3
Member
 
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6
vava10 is on a distinguished road
Hey,

Thank you for your reply. It is binary.

I was not able to visualize the setfields result in ParaView for some reason. I thought this could be the reason.

Do you have any idea why I am not able to visualize the result in ParaView? Can you suggest to me what I might have done wrong? Like the usual reasons this might occur from your experience with the software so that I can check them.
vava10 is offline   Reply With Quote

Old   January 15, 2021, 12:12
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Blindly I would guess that you left the "skip zero time" option checked (by default) in paraview, and your resulted field is in the 0 time folder so paraview won't read it.
If this is not the problem then you should attach your case or give more information.
simrego 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
Running transient with steady results as initial conditions cwl STAR-CCM+ 4 November 29, 2016 10:31
Problem: Very long "write" time (~2h-3h) for results and transient results Shawn_A CFX 16 April 12, 2016 21:49
[OpenFOAM] icoFsiElasticNonLinULSolidFoam (foam-extend 3.1)>>How to see results with paraFoam? steven123 ParaView 7 December 5, 2015 03:34
Unsteady Simulation - Wierd results from Fluent nikhil FLUENT 3 October 3, 2011 08:13
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38


All times are GMT -4. The time now is 12:51.